[DONE] ZC 1.3.0.1 can not remove products from cart.
Not sure if I updated 100% or not, my site is very heavily customised so it is nearly impossible to carry through all bug fixes through all the cascaded template overrides.
When I try to update shopping cart "view cart" product totals there is no change to product counts in the cart and the Checkbox on the shopping cart to Remove Product From Cart doesn't have any text near it, it seems to do nothing. Can't really give a link to show as it is on a test server.
So it means customers can not remove products from cart, only add to.
Php 4.4.2
mySQL 5.0.16
Re: ZC 1.3.0.1 can not remove products from cart.
I can't duplicate this on a 1.3.0.1 setup.
I suspect the problem is related to code not fully upgraded in the template file:
includes/templates/YOURTEMPLATE/templates/tpl_shopping_cart_default.php
Perhaps you can run WinMerge or another comparison tool to check that the file has been upgraded completely.
Failing that, please provide a URL so we can look at it.
Re: ZC 1.3.0.1 can not remove products from cart.
my site does not override that template (yet), it is using the one from the 1.3.0.1 download.
This is the URI i mean, index.php?main_page=shopping_cart
Any other templates which may be involved here?
I will PM the link.
Re: ZC 1.3.0.1 can not remove products from cart.
Please post your URL pointing to your techsupp.php file. It might be possible that you might of had forgot to set full permision on your images folder. :wink2:
(Note: You can find this file under your zc_install folder from the ZIP package you downloaded from this site. Then, upload it to your server).
Re: ZC 1.3.0.1 can not remove products from cart.
What has the images folder got to do with the shopping cart process?
I checked my supp.php and it only showed two unwritable admin dirs which I've fixed up.
Re: ZC 1.3.0.1 can not remove products from cart.
I do notice that Shopping Cart contents page source has this for each item,
name="cart_quantity[]"
shouldn't it appear as something like
name="cart_quantity['78']"
?
same for the delete button, only has the array sign []
Re: ZC 1.3.0.1 can not remove products from cart.
... and if I enable the Product Delete image I can delete products from cart that way, works fine. Just the two methods by using form fields are not working, they dont seem to have any ID in the form which it should need yeah?
Re: ZC 1.3.0.1 can not remove products from cart.
wow quardruple post!.
okay it looks like I am missing this code in the shopping cart checkout page
input type="hidden" name="products_id[]" value="x"
Anyone know where I look to fix that?
Re: ZC 1.3.0.1 can not remove products from cart.
May I suggest you rework the template to use the trash button/icon instead of the checkbox? There are built-in switches in the unmodified template to handle display/non-display of the various components.
Quote:
Anyone know where I look to fix that?
Yes - the original tpl_shopping_cart_default.php template file from the v1.3.0.1 download.
Re: ZC 1.3.0.1 can not remove products from cart.
You also probably will want to edit the text from your language files which is displaying this on your shopping cart page:
Quote:
You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)