jefferis Posted July 21, 2014 Share Posted July 21, 2014 Hi, My client has two requests: 1, to export the customer list to Excel and the other is to hide the on sale link on the nav bar, because all items are on sale, and it is not productive... TIA for any answers, yea or nay. Jeff Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 21, 2014 Share Posted July 21, 2014 In the skin template file main.php, find and make this edit: Was: {$SALE_ITEMS} Now: {* $SALE_ITEMS *} Placing the asterisks as so will make this template placeholder into a template comment. In the skin template file box.navigation.php, find and make this edit: Was: {if $CTRL_SALE} Now: {if false && $CTRL_SALE} This will prevent the list item in the navigation list from being included. There is an easy way and a hard way to get a database dump of the CubeCart_customer database table. 1. Use phpMyAdmin (available in your hosting account's control panel, or use similar utility) to export the table to a CSV file, or 2. Construct a CubeCart 'external'-type module to fetch, process, prepare, and format a proper report. Quote Link to comment Share on other sites More sharing options...
jefferis Posted July 21, 2014 Author Share Posted July 21, 2014 Thank you VERY much! Quote Link to comment Share on other sites More sharing options...
jefferis Posted July 21, 2014 Author Share Posted July 21, 2014 In the skin template file main.php, find and make this edit: Was: {$SALE_ITEMS} Now: {* $SALE_ITEMS *} Was: {if $CTRL_SALE} Now: {if false && $CTRL_SALE} Hi, this did not work... The sale item like I believe is in {$CATEGORIES} and not in {* $SALE_ITEMS *} https://www.slipperyrockcigars.com/ See the green nav links along the side. I even did a complete comment out: <?php /*?> {* $SALE_ITEMS *}<?php */?> and it did not stop the link. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 21, 2014 Share Posted July 21, 2014 There may be the issue of CubeCart using a cached copy of the skin template (mostly already rendered). box.navigation.php is the content that will be put in {$CATEGORIES}. {$SALE_ITEMS} is a side box that is the content from box.sale_items.php. The site looks fine to me. Quote Link to comment Share on other sites More sharing options...
jefferis Posted July 22, 2014 Author Share Posted July 22, 2014 Thanks, apparently is was a server cache of the page. Wasn't sure why it was doing that because the advertising I customized was appearing... Working now after a day. Thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.