Set measurement ranges with megaproduct

In the next blog post we will see the different options you have the module megaproduct to use the ranges.

Alabaz
Actualizado: 13/10/2023 441
Set measurement ranges with megaproduct
Compartir:

The module megaproduct allows you to create ranges of prices in two different ways (ranges and attributes), the first one is from the tab ranges, and it offers a number of different types of ranges that we will review now in depth:

 

If we look at options the most important is the type of range, which will indicate how to calculate prices. Furthermore we have the possibility of introducing measures separately, depending on the type of range the total extent, formula, etc...

But basically the calculation is done is:

1) seeks below to above that rank without spending more is acerce.

(2) verifies that none there is with a selected attribute, but would have preferred

(3) sought once it returns only a range, and that is that will return the price according to the measurements.

Is very important that the ranges introduced the measure introduced by data matching customer. If we create a range over the bandwidth and the client puts data in cm these value of the range should be also in cm for the range is properly.

To understand better the calculation they perform each type will work with a product dondo customer introduces data in cm, so I will show for each type added ranges, the calculation and course the result that we will return the price.

We will review the different types of available ranges, based on as simply ranges:

If we want to limit based on the overall dimensions of the product are used these two options:

 

1) For price of the measure: This type uses to insert data only field measurements and in this case you consider the overall dimensions, like the previous selected range returns a price of the product.

rangos por precio total

In this example, we will work with a product of m2 where customer enter data in cm. It is typically used to make discount depending on the number of metres of purchase customer. 

Measures Calculation Result
100 x 200 First rank because they are 2m
€20
100 x 600 Second range is 6m and the first range is exceeded
€48
100 x 1200 Third rank because they are 12m
€60

For example, if a client wants to make curtains and need to buy fabric, if you buy a piece of 100 x 200 cm will cost €20 because it belongs to the first range where we have indicated that the cost of the metro are €10. However, if the piece to purchase measures 100 x 600, then the price shall be the second rank and the meter price is only € 8, so the piece will cost €48 (instead of 60 that would be price adjusting to the first rank).

 

2) For price of measurement using quantity:
It is the same that the case above but to know what range to use the overall dimensions is multiplied by the amount and then looking for the correct range.

rangos por precio total

 

This example will work as the case above but use the quantity of the product multiplied by the overall dimensions to find the range.

 

Measures Calculation Result
100 x 100 quantity: 1
First rank is 1m in total
€10

100 x 100

Quantity: 6

Second range are 6m in total
€48

100 x 100

Quantity: 12

Third rank because they are 12m
€60

 

Following the example of the curtains, now the client need six pieces of fabric equal to the windows of a room. Therefore buy 6 pieces of 100 x 100 which, in total, are 6m, therefore the cost also is €48 because it conforms to the second rank.


In both cases seeks a range which in total core measures, once returned that would be the price of the metro so that this is multiplied by the total measures to return the price of the product.

 

1) Total price: This type uses the measures high, wide and long to indicate the different ranges, the selected range returns a fixed price.

In this case, for the sale of fabric, we will create different ranges, taking into account measures of height and width. When the customer insert measures, will return the price of the range to include.

 

rangos por precio total

 

In this example, we will work with m2 (with two fields) and the customer shall include the data in cm.

 

Measures Calculation Result
80 x 80 First rank because fails it any measure €10
105 x 80 Second range because there is a measure that does not clumple the first range
€20
210 x 210 Third range because it is the only one that does not exceed the measures
€30

 

If the customer buys a piece of fabric 80 x 80 price will be € 10 since it fails any measure and the price of the first rank is taken. However, if the piece measures 105 x 80, exceeds one of the measures of the first rank and the second price, was taken up by what the price is €20.

 

2) By Total cost of the measure: Seeks the range using the overall dimensions and, in this case, returns a fixed price. It is as above but instead of measures wide, long and high, uses the overall dimensions.

rangos por precio total

 

In this example, we will work with a product of m2 where customer enter data in cm. And the result will always be the value of the range, it is not multiplied by the measure.

 

Measures Calculation Result
100 x 200 First rank because they are 2m
€10
100 x 600 Second range is 6m and the first range is exceeded
€20
100 x 1200 Third rank because they are 12m
€30

 

If we continue using the example of the curtains, when the customer buys a piece of 100 x 200 cm (2 m) the price will be € 10 since it does not exceed the 5 m of the first rank. The price is fixed, so if the customer purchased a piece of 100 x 599 cost would also be € 10.

 

Then we have the unit measures types, in these customer you can enter any value high, long, wide, measure is not necessary to enter all previous ranks, but you can create with only the width or height only, then the range returns a value that is used in 4 different ways depending on the type, in these cases not only can return a range but one for the width and another for long because that would be as sets of different ranges:

1) Total price per quantity unit measures: The measure is used to find the range by the amount. The price range is divided by the amount to refund the price.

 

rangos por precio total

 

In this example, we will work with a product of m2 where customer enter data in cm. The single range will be sought by the width measurement multiplied by the amount and the result of the range will be divided by the amount purchased by the customer to have the value of the product.

 

Measures Calculation Result

100 x

Cantidad:1

First rank is less than or equal to 100cm width
€10

100 x

Quantity: 2

Second range is exceeded the first
€20

100 x

Quantity: 3

Third range because only 300 cm in that.
€30

 

In this case if the customer buys a piece of 100cm wide it will cost you €10 (first rank) and if you buy 3 the cost will be € 30 because the third range is the only one which does not exceed it.

2) Unit measures Total price: Returns the price indicated by the range.

3) Unit measures price by quantity: The price range is multiplied by the measures, but to find the range measurements are multiplied by the quantity.

4) Unit price measures: The price of the range is multiplied by the measures.

5) Formulas: This would be the most powerful ranges because just as the former can be ranges by any kind of measure, with the difference that the range returned by a formula that returns a value that multiplies pr a price is made. So I returned once the range we can use the variables Q, W, H, L to make a formula to calculate the final price.

 

Then we have a special case, type boxes is no longer necessary since we can use the boxes from the configuration of the products, but basically the measures introduced by the client is divided by the value of the range, so we know how many cases would be necessary and always round to integer value above. Those boxes are multiplied by the price of the range.

 

From the tab attributes also can create a kind of ranges, based on limits, but in this case unlike the tab ranges can be applied several of the rules not just one, because they are simply rules that if they met apply changes in the price, unlike the tab ranges where only one would be chosen.

 

formulario atributos limites

 

If we focus on the field limits of attributes, we see that we can limit that it applies the rule based on the quantity of the purchased product, measured, wide, high, long or even use the formula if you are using this type of attribute.

"Value" and "Limit applies value" fields can receive positive or negative values. If we focus on the field limit if we put a negative value shall apply the rule whenever the value is less than or equal to the field limit, and if it is positive provided that it exceeds the value of the field limit or is the same. The field value if set you negative values deducted the value the price that you have calculated product so that we can do discounts depending on the amount us customer purchase for example.

 

Configure all these options and take advantage of all the benefits offered by megaproduct. And remember, if you have any questions you can contact us by sending us a ticket from your client area.

 

Module to customize custom products (m2, m3, inches), calculation of structures, weights (kg)  - Product Page PrestaShop Modules

Module to customize custom products (m2, m3, inches), calculation of structures, weights (kg)

Improve your PrestaShop for industrial structured sales with MegaProducts. Designed for businesses that require precise customization of products in measurements (m2, m3, inches) and calculation of structures and weights (kg). Ideal for configuring complex products such as curtains, metal structures, bulk foods and jewelry, simplifying the sale of items defined by mass, length

Ver pantallasVer pantallas
€240.41
AWPrime €290.90 info View more
Buscar en el blog...
Últimos artículos
Más vistos
Síguenos en redes
0 comentarios

Escribe un comentario

¿Qué te ha parecido?