Hi there. I had a quick question about customizing the cart templates. I have dealt with several different carts and attempts to customize them for different people. I have this cart which i custom programmed,
http://www.thestockholmagency.com/shop/
We are looking to update the look and feel of the site as well as add some features to the store that are not currently in it. zencart can probably do all the things they need to do just fine, but im nervous about customizing it. its been a real pain in the past and i was wondering how manage extracting information from the database is managed? Does zencart use its own language to create templates, and overrides? Is the template code done in php? Most systems i have seen or worked with seem to try and keep you in a very standard layout. If you try to deviate to much from that it doesn't work because the level of customization of the tokens they use to place page elements isn't very good. Here is an example of what i mean.
Miva: you insert their token, and it plops out a chunk of html. Sometimes you have access to the formating of that text, but since its all done in their proprietary engine, you can't easily modify strings for example.
Comersus: Sloppy code that isn't setup the way i would like it to be but this is closer to what im looking for only i need something in PHP over ASP. Comersus does every page by including a header and footer which is your page layout. The header and footer use asp includes to pull in other page snips or tokens from the database to get your category list or such things. then between the includes of the header and footer the main content of the page is output. so basically you have to take your page design it divide it into two parts, where you have to have a center area or one central spot where the majority of your content will go. again this is pretty limiting.
In ZenCart would i have access to data objects like
and similar for products, maybe like:PHP Code:
$categorylist->nextCat();
So having seen the current cart i programmed and the layout of it, and knowing that its going to change some, but in general be similar. how difficult would it be to customize this cart to something like that?PHP Code:
$prod = $products->nextProd();
echo $prod.name."<br>".$prod.price;
I guess im not sure how to ask this question but i hope it makes sense to someone who can answer it for me. thanks!
Bookmarks