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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

How To Calculate Weight x Price With Product?


Go to End


2 Posts   3577 Views

Avatar
mazang

Community Member, 4 Posts

9 January 2009 at 4:17pm

With the same customer just found out that he do not like ecommerce out-of-the-box product pricing model which just show the price. With his halal meat products he need to have a way in which he input in the CMS how many pounds the meat is and cost per pound and then the system automaticaly calculate the total price of the meat. Also on the product page on the website show how many pounds the meat is and cost per pound and the final price of the meat.

I know that an individual may edit that type of stuff at ecommerce/code/Product.php but I dont know EXACTLY how. I am great at web / graphic design but my PHP skills is very minimal so please state things in a way in which I may understand. Can anyone please help?

Avatar
kcd

Community Member, 54 Posts

13 January 2009 at 6:29pm

...again I haven't got shipping working but i think you need WeightShippingModifier which already exists