Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

E-commerce


Reply

2 Posts   1293 Views

Avatar
amar9876

25 December 2007 at 4:14am Community Member, 1 Post

Hi there.

I am new to Silverstripe and was looking to use it to devlop my own e-commerce website.

I am trying to use the e-comerce module and it autometically creates the basic interface.
I.e.
2 example products.
Shpping Cart etc.

Its fairly easy to understand how I can create my own product / catagory from the admin panel.

I am however struggling to figure out how I would modify product specific detaile such as: Price, Quantity in Stock, currency. I assume this iis stored in the mySQL database.

Any help on how to use the e-commerce module would be appreciated. I couldnt find much info in the doccumentation on this.

Many Thanks

Avatar
cmswarrior

25 December 2007 at 10:40am (Last edited: 25 December 2007 10:42am), Community Member, 13 Posts

Hey amar9876,

Am not too clear about what exactly you are trying to do. But product.php controls most of the product related details, if you want to set default values, or add more fields, you can do that by using the getCMSFields() function in product.php.

You might also checkout
http://doc.silverstripe.com/doku.php?id=tutorial:2-extending-a-basic-site
for some more insight on how to extend the functionality of your website.

Let me know if you have anymore questions.

cmswarrior.