Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,849
    Plugin Contributions
    11

    Default Re: Shopping cart page - unable to update product quantity

    are you using an ajax plugin to update the quantity?
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #12
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Shopping cart page - unable to update product quantity

    Quote Originally Posted by carlwhat View Post
    are you using an ajax plugin to update the quantity?
    No, nothing like that on this client site

  3. #13
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Shopping cart page - unable to update product quantity

    Quote Originally Posted by Website Rob View Post
    Two things I noticed.

    .........

    As it is currently, a <div> tag is missing and the FORM is not properly coded. This may or may not solve the Quantity problem but it is coding that needs to be corrected.

    Speaking of which, I found the above problems using the validator.w3.org which is always a handy tool--regardless of having problems or not.
    Well, you weren't too far off with your missing <div> tag.

    Changed this

    Code:
    <?php 
        $page_query = $db->Execute("SELECT pages_html_text FROM ezpages WHERE pages_title='Shopping Cart Info'");
        $shoppingcartinfo_text = $page_query->fields['pages_html_text'];
        echo $shoppingcartinfo_text;
    ?>
    
    </div>

    to this, just to "tidy up"


    Code:
    <div>
    
    <?php 
        $page_query = $db->Execute("SELECT pages_html_text FROM ezpages WHERE pages_title='Shopping Cart Info'");
        $shoppingcartinfo_text = $page_query->fields['pages_html_text'];
        echo $shoppingcartinfo_text;
    ?>
    
    </div>
    and the addition of that missing opening <div> tag fixed the update quantity issue.

    I found that many boo-boos on this site (from the previous developer) that I am not really surprised. What else will I find in the next few months????

    Anyway, thanks all for taking the time to look at this issue, much appreciated!

    Cheers / Frank

  4. #14
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Shopping cart page - unable to update product quantity

    Considering that the original line of the template_default/templates/tpl_shopping_cart_default.php file was a one liner that was expanded to multiple to include omitting/losing the div tag, may want to consider the impact of restoring the other parameters of that div tag to have it like so:
    Code:
    <div id="cartInstructionsDisplay" class="content">
    instead of just being a div tag.
    Original line from a ZC 1.5.5 template_default version:
    Code:
    <div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div>
    Which as described above was modified to use a lookup for the content to be displayed in the position of TEXT_INFORMATION.
    At least that way would have direct/specific control of any associated formatting even if it were to be to remove the formatting directly associated with that tag. :)

    So was this difference one of those CSS/display changes in the override template file to which you referred in the OP?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v155 Update Button of Shopping Cart Reduces Quantity in Cart
    By mc12345678 in forum Bug Reports
    Replies: 2
    Last Post: 29 Jul 2016, 12:26 PM
  2. v153 No Quantity Box In Shopping Cart To Update
    By inklingsolutions in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 20 Nov 2014, 04:48 PM
  3. Unable To Update Cart Count On Product Page Or Cart
    By Earnest-Enterprises in forum General Questions
    Replies: 9
    Last Post: 26 Jan 2011, 01:25 AM
  4. shopping cart - hide the Cart Quantity Update button when not needed
    By dause in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Oct 2009, 04:28 AM
  5. Not able to update product quantity in shopping cart
    By bstoppel in forum General Questions
    Replies: 5
    Last Post: 3 Aug 2009, 06:15 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