Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Five5
Five5
Does anyone know how to insert a custom block into a product or category description.
 
For example, I have a product selection guide custom block that I want to display in a select few products, not all so I don't want to put it in the Product Details Page layout in CMS. But somehow drop some code into the HTML description of a product that will then call up the block.
 
I want to use a block rather than paste the block code into the relevant products, as I intend to update the selection guide contents regularly.
 
Ned
Ned
In Admin create the custom block with your product selection guide information.
 
Go to the product category you want to see the block in and run the mouse pointer over the products you want to include the block in noting each "item_id".
 
Then in CMS Settings > Product Details Page select the block and in the parameters box (upper right) enter "item=x,y,z" (without the ") where x,y,z are the item_id numbers of the products you want the block to appear in. Position the block on the page as you wish.
 
The block will now only appear in the items you want. This also works for "category=x,y,z" . Blocks in the individual custom pages and articles can be set by the individual layout settings.
HTH
 
Five5
Five5
AWESOME!!!!
 
AWESOME!!!! AWESOME!!!! AWESOME!!!! AWESOME!!!! AWESOME!!!! AWESOME!!!! AWESOME!!!! AWESOME!!!!
 
Thanks AWESOME!!!! Ned.
 
freezer
freezer
Ditto, this has opened my eyes. Basically we can customise at not only category level but right down to product/s level. Very useful indeed !
 
SajMalik
SajMalik
WOW Ned - there is so much to learn ... and benefit. Thank you for this!!
 
This is also why I support Dan's efforts: http://www.viart.com/new_manual_forum.html?page=2
 
Chris