Jump to content

Control Showing Sale Items Category


TigerRag
 Share

Recommended Posts

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

Link to comment
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'
) {

 

Link to comment
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'
) {
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...