| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
static pages make sense? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
static pages make sense?
Hi there-
I realize I am about to get "boo"-ed out of here but I am building a store that will only have about 12 products and all of the product page layouts are very different (highly graphic based*), so the efficacy of templating is kinda lost on me. Does anyone have any experience with building static PHP pages and then just using the variables from x-cart to populate the data? All of the smarty templates are just made up of TOO MANY modules and variables. I dont need all of this extra stuff... just a product listing, shopping cart and checkout... no mailing lists. top sellers, etc etc thanks for any help spoonernyc * NOTE I tried to disuade the client from going with a totally graphicly crazy layout store but this is what they want. |
|||||||
#2
|
|||||||||
|
|||||||||
http://smarty.php.net
With 13 {if $product.productid 1} (replace 1 with id of course) ... statements you could easily make product.tpl setup to display product listing setups. hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
oh I see... so I could contain all of my layouts within one tpl file..
and just use "if then"-s to discern which product... thanks very much! now if every product page has addt. info links that go to once again (*sigh) a distinct layout pages can I use if $page =2 (second page layout) $page=3 (third page layout) for example in this URL http://www.sharpsusa.com/store/customer/product.php?productid=16133&cat=249&page=1 is the page variable used in other places? thanks ps I LOVE your little doctor character it is such a great icon for your company! |
|||||||
#4
|
|||||||||
|
|||||||||
You could easily use extra fields for this as you have a limit of 10 additional fields or just simply hardcode the links and info in the product.tpl page:
Code:
This is the basic jest, however if your client adds a new product your gonna need to make adjustments by hand since its not dynamic. hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|