Jump to content

Sale Items and Popular Products in main content area


Guest Acquiesce

Recommended Posts

Guest Acquiesce

Hello,

I have recently upgraded a customers site fo v5 and have been adding back in my old customisation.

Previously I had removed the sale items and popular products boxes from the right hand columns and included them into the main body of the homepage only.

For v5 I can't work out how to do this. So far I've found that they are both referenced in main.php as {$SALE_ITEMS} and {$POPULAR_PRODUCTS}. I moved these two references into the content.homepage.php page but no content displays.

I'd be grateful if someone could advise where I'm going wrong and if there are any other files which I also need t be amending.

Thanks

Link to comment
Share on other sites

According to this post:

you should be able to do something like this in the content area of your main.php template file....

{if isset($SECTION_NAME) && ($SECTION_NAME == "home")}

{$SALE_ITEMS}

{$POPULAR_PRODUCTS}

{/if}

Link to comment
Share on other sites

  • 2 weeks later...

I'd like to create 2 sidebar boxes - each for a particular listing. One offers custom embroidery and the other a gift card option to be included with the item. I think I would need to add the {GIFT_CARD} and {EMBROIDERY} Section Names to main.php. But I don't know how to create the actual template page for each of these new sections. Can someone help me with this?

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.

×
×
  • Create New...