Forums / Setup & design / Building a shop

Building a shop

Author Message

Bjørn Kaarstein

Friday 16 April 2004 6:33:01 am

I've recently upgraded a site from 3.1 to 3.3, and am currently in the planning stage of adding webshop functionality. I could use some help to get started.

Currently this site runs in element view.

It's only a given part of the site which is supposed to be a part of a shop. I'll keep the design as is, and what I want to do is just to add a "buy" button to the full view of one specific product class. Is this possible to do with element view, or will I have to put this in a section of its own using {$module_result.content} to display?

I'm a bit confused right now, so any clearifying answer will be greatly appreciated.

Regards Bjørn

Silke Fox

Sunday 18 April 2004 11:50:24 pm

The "add to basket" button should show up automatically in the full view of a product object (at least in the standard templates).
You can test that with the default product content class or, if you want to set up your own product class, just add the "price" attribute to it.

You don't need a new section for that.
Products work like any other content object, so template overriding and so on
is basically the same as with other content.

Maybe this is a little hint to start with.

Silke