Zen Follower
- Join Date:
- Mar 2007
- Location:
- Pepperell, Massachusetts
- Posts:
- 232
- Plugin Contributions:
- 0
Where are the admin settings for what to show when cart is empty?
v1.3.6
I wanted to surpress some of the sections that are shown when your shopping cart it empty.. ..such as when a customer deleted eveything from their cart.
It appears in tpl_shopping_cart_default.php that there are configuration settings for the following:
Searching 903 files ... for: SHOW_SHOPPING_CART_EMPTY **C:\Inetpub\vhosts\sacredfiremag.com\httpdocs/shop/includes/classes/db/mysql/define_queries.php**
Line #34 : DEFINE('SQL_SHOW_SHOPPING_CART_EMPTY',"select configuration_key, configuration_value from " . TABLE_CONFIGURATION . " where configuration_key RLIKE 'SHOW_SHOPPING_CART_EMPTY' and configuration_value > 0 order by configuration_value");
C:\Inetpub\vhosts\sacredfiremag.com\httpdocs/shop/includes/templates/template_default/templates/tpl_shopping_cart_default.php
Line #177 : $show_display_shopping_cart_empty = $db->Execute(SQL_SHOW_SHOPPING_CART_EMPTY);
Line #183 : if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_FEATURED_PRODUCTS') { ?>
Line #193 : if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_SPECIALS_PRODUCTS') { ?>
Line #203 : if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_NEW_PRODUCTS') { ?>
Line #213 : if ($show_display_shopping_cart_empty->fields['configuration_key'] == 'SHOW_SHOPPING_CART_EMPTY_UPCOMING') {
..but I couldn't find where to set these in admin. I couldn't even find them searching through the admin files.
Do I have to modify the database by hand?
:blink: