are you using an ajax plugin to update the quantity?
Printable View
are you using an ajax plugin to update the quantity?
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"
and the addition of that missing opening <div> tag fixed the update quantity issue.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>
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
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:
instead of just being a div tag.Code:<div id="cartInstructionsDisplay" class="content">
Original line from a ZC 1.5.5 template_default version:
Which as described above was modified to use a lookup for the content to be displayed in the position of TEXT_INFORMATION.Code:<div id="cartInstructionsDisplay" class="content"><?php echo TEXT_INFORMATION; ?></div>
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?