TigerRag Posted April 13, 2017 Share Posted April 13, 2017 Just wondered, any way to show the "sale items" link, when i have an item on sale and not when i have no items on sale. At the moment the "sale items" link shows even when no items are on sale, clicking it shows a page with a "No products found" message, is there a way to have it only show when an item is on sale without commenting it in and out each time. Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 13, 2017 Share Posted April 13, 2017 @TigerRag What version are you on? What skin are you using? I really thought this had been fixed. Quote Link to comment Share on other sites More sharing options...
TigerRag Posted April 13, 2017 Author Share Posted April 13, 2017 (edited) hi, i am using CubeCart 6.1.5 and the skin is Mauris 1.0.2 - Thanks EDIT i am new to CubeCart so might be me and not be CubeCart or Mauris Edited April 13, 2017 by TigerRag Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 13, 2017 Share Posted April 13, 2017 It's quite likely to be a Mauris issue. The old v5 skins work up to a point, BUT when any changes are made to improve Foundation during an upgrade - those changes are NOT made to your v5 skin. I'm probably not the best one to try to help you fix this, but it should be fixable. In the meantime, please try changing to use the Foundation skin for 6.1.5. Clear all cache in CC except your images and clear your browser cache. Then see if the problem has been solved. Here's the fix from GitHub: https://github.com/cubecart/v6/commit/8d84a3215af6dc61270b4a9d93566d78ce317fea It looks like that fixed the sitemap, but the rest of Bsmither's solution does not seem to have been incorporated: For box.navigation.php instead of {if $CTRL_SALE} if( $GLOBALS['config']->get('config', 'catalogue_sale_mode') !== '0' && $GLOBALS['config']->get('config', 'catalogue_sale_mode') !== '2' ) { Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted April 14, 2017 Share Posted April 14, 2017 Hi DB, I have this in 6.1.5 foundation {/if} {if $CTRL_SALE} <li><a href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li> {/if} Does I replace the above with this? if( $GLOBALS['config']->get('config', 'catalogue_sale_mode') !== '0' && $GLOBALS['config']->get('config', 'catalogue_sale_mode') !== '2' ) { Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 14, 2017 Share Posted April 14, 2017 Replace just the {if $CTRL_SALE} Keep the <li><a href...... Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted April 20, 2017 Share Posted April 20, 2017 The answer for foundation 6..7 was: to take the Sale Items OFF the menu? Look in Admin>Store Settings>Features to use Disable Sales in Sales Mode. thanks DB. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 20, 2017 Share Posted April 20, 2017 Thanks for the correction on how to fix this, @harrisorganic. My Senior Moments are turning into Senior Months! 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.