Post by musa379 » Thu Mar 24, 2016 3:28 pm

Hi all I'm setting up 2.1.0.2 OC and got a problem:

The remove item button "X" and update button is not working in both shopping cart and mini cart, click it = no response.

Anyone please HELP!

http://amaderboi.com/computer-o-interne ... MCQ,-Viva)

Just add a product to cart and help me to try, thanks in advance!

After clicking "X" in the shopping cart, a message appears:" Success: You have modified your shopping cart! "
But nothing is removed.

Newbie

Posts

Joined
Thu Dec 31, 2015 10:21 am

Post by Randem » Thu Mar 24, 2016 3:58 pm


NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by musa379 » Thu Mar 24, 2016 5:55 pm

hello Randem

i follow your 1st link ,
catalog\view\theme\default\template\common\cart.tpl - Line 25
catalog\view\theme\default\template\checkout\cart.tpl - Line 76 and 79

replace with ur code but not working

Newbie

Posts

Joined
Thu Dec 31, 2015 10:21 am

Post by Randem » Thu Mar 24, 2016 6:03 pm

Can't verify that you changed everything correctly if you don't post it...

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by monali » Wed Jul 27, 2016 5:26 pm

Thank you Randem, I spent days searching for solution and finally i found it in your post.
Thank you so much ::) . You saved my life because i had a big pressure from my boss in work :'( :-\

Just a small other thing, after deleting product from the cart, the number still existing unless i refresh the page. Is there a solution to update it at the same time when clicking on the remove button without refreshing page.

Thank you

Newbie

Posts

Joined
Wed Jul 27, 2016 5:16 pm

Post by Randem » Thu Jul 28, 2016 8:17 am

You are welcome... I don't know about the update without refreshing the page. I imagine you can do it with an Ajax Call but that would seem to be a lot of work for little gain. Why not just auto refresh the page?

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by monali » Thu Jul 28, 2016 10:42 am

Randem wrote:You are welcome... I don't know about the update without refreshing the page. I imagine you can do it with an Ajax Call but that would seem to be a lot of work for little gain. Why not just auto refresh the page?
Thank you Randem;
Ok no matter, i will let it as it is and i will just refresh the page .

Newbie

Posts

Joined
Wed Jul 27, 2016 5:16 pm

Post by ezmarketing » Tue Nov 29, 2016 9:25 pm

Hi I am using Opencart 2.1.0.2 and default theme. Both cart.tpl files you mention have cart_id, but I still cannot update quantity or delete items from the cart page. (Deleting works fine in a mini cart in the header).
Any Ideas how to fix the issue?

Here is the site http://activehuntingireland.ie/index.ph ... ckout/cart, there are some products featured on the bottom of the page that you might add to card and see the issue.

Thanks

Newbie

Posts

Joined
Thu Jul 16, 2015 11:56 pm
Who is online

Users browsing this forum: No registered users and 8 guests