Thursday, November 7, 2013

This isn't required but you might find it helpful if you don't have spare products, they all fall within your discount rules you already made for a group or you want a custom wholesale welcome page. In my wholesale group I created a Wholesale Information product category, but with the normal template it would display that there are no products in that category after whatever information you put in for the page.  So here's how to make it look like a normal page:

  • The category product content is set by the CategoryContent panel. 
  • Copy and paste the script into a new Notepad or Notepad ++ document. 
  • Remove the   %%GLOBAL_CategoryProductListing%% from the panel, and save the document as a HTML file with a new name. I saved mine as CategoryNoContent.html. 
  • Then save it in the Panel part of your template directory.
  • Now you have to create a new category template.  Copy and paste the code from your Category.html template file.
  • Replace the %%Panel.CategortConent%% with %%Panel.CategoryNoContent%%
  • When you save the new category template make sure it is save with an underscore: _Category1.html
  • Now when you create your category page use the selector for the template file to choose the new category template


0 comments: