Hi,
I am looking for a way to add the ++ & -- operators to my tpl_shopping_cart_default.php.
I have found this in file tpl_shopping_cart_default.php:
PHP Code:
<td class="cartQuantity">
<span class="mobile-only"><?php echo TABLE_HEADING_QUANTITY; ?>:</span>
<?php
if ($product['flagShowFixedQuantity']) {
echo $product['showFixedQuantityAmount'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>' . $product['showMinUnits'];
} else {
echo $product['quantityField'] . '<span class="alert bold">' . $product['flagStockCheck'] . '</span>' . $product['showMinUnits'];
}
?>
<div class="qty-btns">
<?php
if ($product['buttonUpdate'] == '') {
echo '' ;
} else {
echo $product['buttonUpdate'];
}
?>
<?php
if ($product['buttonDelete']) {
?>
<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, 'action=remove_product&product_id=' . $product['id']); ?>">Remove</a>
<?php
}
if ($product['checkBoxDelete'] ) {
// echo zen_draw_checkbox_field('cart_delete[]', $product['id']);
}
?>
</div>
</td>
Can anyone please help me turn this into working increment and decrement buttons/icons for my cart quantity?
Thanks
Last edited by SpaceMonkey; 18 Apr 2015 at 02:42 AM. Reason: Spelling & Grammar
Sorry if this question has already been asked. But with all these Zen cart Responsive templates will most of the mods that work say for Zen 1.5.x , work in these templates also? In other words, are the templates used irrelevant to whether the mods work and it is really a matter of whether they work with the version of Zencart?
Hi,
Be careful with "mods" (it all depends on the "mod")! Some "mods" or templates have core file overwrites which will need to be added to the template using file comparison.
This template has core file overwrites. Many templates (especially ones with added value) have overwrites. Being responsive is mainly CSS driven and won't affect the "mods".
Your assumption on Zencart version is correct, however some templates may need to have the left or right columns added/amended to see the added value (mod). This is a common factor for most templates but not normally an issue.
Without knowing which "mods" you are referring to it is impossible to help much further.
Just for the record I am using this template on Zen v1.5.4 and have a handful of admin & store "mods" installed. Some of them needed integrating manually and others worked out of the box. Just remember to BACKUP BEFORE trying to add ANYTHING.
Good luck![]()
Thanks for your helpful reply. ...
After much research and previewing about 205 Zen Cart responsive templates this one was bets suited for my online business and also has a superior mobile interface, particularly the Menu system. It is form Template monster
http://www.templatemonster.com/zenca...tes/53474.html
Some mods I am hoping work with this template include the
Advanced Cross Sell
Ultimate SEO
to name a couple
latest version of zencart (out of the box)
latest version of this template
error message after activating: WARNING: An Error occurred, please refresh the page and try again.
cant access admin panel and template images do not dispay on storefront
reinstalled template twice to same result.
im having a problem with this template, iv started to add products and they show up on the homepage for new products but if i go into categories none of the products are showing under any of the categories, if i change the template to classic they all show up under the categories can anybody point me in the right direction ? thanks in advance
Bookmarks