| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How can I add a Custom Page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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!
__________________
Dee in the house X-Cart 4.4.5 Apache 2.2.22 (Unix) PHP 5.3.13 |
|||||||
#2
|
|||||||
|
|||||||
![]() Just add new categories. Products can go under multiple categories by selecting them in the 'modify product' area.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() 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?
__________________
Dee in the house X-Cart 4.4.5 Apache 2.2.22 (Unix) PHP 5.3.13 |
|||||||
#4
|
|||||||
|
|||||||
![]() 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.
__________________
Vicky Rowe Satori Digital Marketing http://www.satoridigitalmarketing.com X-Cart Pro Version 4.0.13, running on a Unix server |
|||||||
|
|||
X-Cart forums © 2001-2020
|