Length (feet and inches) ?!!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Each product details page has some fields as:

Weight:       [lb(s)]
Length:   [inch(es)]
Width:   [inch(es)]
Height:   [inch(es)]


What is the purpose when we cannot specify length of an item per feet rather inches? and why system is not calculating base on the length I have entered here?

Can somebody give me some insight into this?

Regards.
13 years ago
Check: admin>configuration>measures
13 years ago
It is not that easy. I have done it but then what? no changes I see here. any idea?
13 years ago
What I'm trying to say here is that I can check a radio-button for 'feet' but then what happens?
How can I make an item to be calculated per foot ?

Please comment on this.
Thanks.
13 years ago
rsavra wrote:
What I'm trying to say here is that I can check a radio-button for 'feet' but then what happens?
How can I make an item to be calculated per foot ?

Please comment on this.
Thanks.

As far as I understand, measures (dimensions and weight) as defined in configuration and later in each product/variant are not used to calculate the cost of a product (such as per foot). They are used in calculating the shipping cost, accordingly with the shipment option used. For that reason they are defined all together at product/variant level :

Shipping enabled:    
Free shipping:    
Additional shipping charge:     [USD]  
Weight:     [lb(s)]  
Length:     [inch(es)]  
Width:     [inch(es)]  
Height:     [inch(es)]
13 years ago
Yes that stuff is just for shipping at the moment I think.
(But it would be useful for doing something similar to what you if you want to do some coding - maybe add in calculator of some description for conversions and the like)

Otherwise to sell it in lengths by the metre its just a normal product with a price.
Price displayed $10 (describe it in the text test that purchase is the quanitity in metres)
i.e. Please enter the quantitiy as the number of meters you wish to purchase in one length

i.e.$10/m (user enters 5) 5m = $50 to pay
You send them one 5m length
Does that work ?

Offcourse you could add in a new type of product attribute that did it and made it more user friendly if you wanted.
A
13 years ago
I wish it was that easy... the problem is that I need customer to enter his door size e.g. 12 1/7 x 28 7/8 and calculate it base on the door size.

I can of course create a text-box on page (using attribute) but then I need to know:

1) Where to write the code for calculation? (which module do I need to modify or code in)

2) how to distinguish between items like pen and rope?

Any hint is appreciated.
8 years ago
rsavra wrote:
I wish it was that easy... the problem is that I need customer to enter his door size e.g. 12 1/7 x 28 7/8 and calculate it base on the door size.

I can of course create a text-box on page (using attribute) but then I need to know:

1) Where to write the code for calculation? (which module do I need to modify or code in)

2) how to distinguish between items like pen and rope?

Any hint is appreciated.


I'm currently writing templates for a customer to calculate costs based on
1. Decimal length (in running meters)
The customer selects a type of timber, the width of the timber and the length they want in decimal. Cost is calculated and displayed.

2. Metres Cubed
Customer enters the width, length and thickness of the timber. The cubic meters is calculated and this is multiplied by the price and displayed.

I'm utilising 'customer enters price' to add the products to the basket.

This is an old post but if anyone wants some pointers then feel free to pm me.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.