TigerRag

Control Showing Sale Items Category

8 posts in this topic

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

Share this post


Link to post
Share on other sites

@TigerRag What version are you on? What skin are you using? I really thought this had been fixed.

Share this post


Link to post
Share on other sites

Posted (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 by TigerRag

Share this post


Link to post
Share on other sites

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'
) {

 

Share this post


Link to post
Share on other sites

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'
) {

Share this post


Link to post
Share on other sites

Replace just the {if $CTRL_SALE} Keep the <li><a href......

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now