Developer forum

Forum » Development » Ecom: Price per m2 or running meter - HOW TO ?

Ecom: Price per m2 or running meter - HOW TO ?

Peter Leleulya
Reply
We have a challenge for which we need your help :-)

We have a client in the carpet industry.
They sell their products per squared meter (m2) or per unit or per running meter (rm).

Squared meter example: Floor tiles
Unit example: Carpet
Running meter sample: Linoleum floor

In the ecom back-end of DynamicWeb we have a price field.
We thought we could make a custom field 'price type' in which you can select if the given price is valid for unit/m2/rm.
But that would give us troubles in the cart, we think.

How can a customer select 5,15 running meters of a product?
Can you select 5,15 as an amount value for a product?

Then there's our problem with m2, as you might know the prices in the floor coverings (wood/linoleum/carpet) ar mentioned per m2, but can't be bought exactly per m2, a package allways contains x.x m2.

I can imagine these problems occurred before, do you have any experience with this and can you push us in the right direction?
We would be greatful.

Rob Lohmann & Peter Leleulya
Innovadis BV

Replies

 
Nicolai Høeg Pedersen
Reply
Hi Rob & Peter

The order line amount is a double so you should be able to add 2,2 of something to the cart. So you could use just the pricefield along with a custom field as you suggest.

But eCommerce system also comes with units. You can create units in the management center:
http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Management-Center/eCommerce-settings/Product-catalog/Product-units.aspx

And then you can define what units a product is available in:
http://manual.dynamicweb-cms.com/Default.aspx?ID=7155#30153
And have different prices for different units in the price matrix.

But if each product is in only one unit, there is no need to use units...


 
Peter Leleulya
Reply
Thanks for your reaction, wel will set up a test to see if we can create all that we need.

 

You must be logged in to post in the forum