![]() |
How can I add a Custom Page
Hi everyone, I am rather a newb so please any help will be appreciated.
I am trying to add a custom page to the cart that can perform as follows: Basically I want to add a link to the Categories section that says "products from $15 to $25" This link would take the user to a page that will out put all the products that fit that criteria (or any other customized criteria). My store will be selling wine, so another example would be a link that said "Wines from California" This link would lead to a page that only listed products that originated from california dynamically. Could someone please guide me on how to make a custom page that can produce this sort of dynamic content? Thsnks! |
Just add new categories. Products can go under multiple categories by selecting them in the 'modify product' area.
|
Thanks for the reply,
but that would not be dynamic..... Plus if I had thousands of products it would be tedious putting 100s of them into these categories separately. Isn't there a simpler way using the sql within the smarty tags/x-cart system to list the products dynamically based on certain criteria that is passed in the url maybe? |
You *could* create product variables (in product creation screen) to indicate your breakouts....
Variable1: Price level, i.e. $15-$25, $25-35, etc. Variable2: Location, i.e. California, Australia, France, etc. Variable3: Wine Type, i.e. Shiraz, Merlot, etc. ...and so on. Then, create static pages for each variable you wish to search on (they will appear automagically in the menu) and set it to parse Smarty (in the static pages setup for each page), and using Smarty code, pull based on those variables. Simplified, but it seems to me that while digging through all the templates during my winery setup, I saw code that could fairly easily be lifted, changed and used to do this, just insert the relevant variables to search on. |
All times are GMT -8. The time now is 02:34 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.