Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    [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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    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.

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default 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.

    (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).

  5. #5
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default 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 []

  7. #7
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default 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?

  8. #8
    Join Date
    Jun 2006
    Posts
    56
    Plugin Contributions
    0

    Default 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?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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.
    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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default 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:
    You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. remove products from cart if no purchase
    By barendfaber in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 17 Nov 2010, 01:48 AM
  2. remove cart from 1 category - free products
    By thedonutlounge in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Feb 2009, 08:16 AM
  3. Remove New Products from shopping cart
    By tkelley66 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Oct 2008, 07:03 PM
  4. Can't remove products from shopping-cart (again!)
    By rafvo in forum General Questions
    Replies: 3
    Last Post: 8 Feb 2008, 12:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR