Jump to content

Recommended Posts

Dear all, I tried in many ways to contact you but without success.

I need to know in which way I can personalize Prestashop to calculate the price of a product, for example, if I have a banner that costs 10 €/m, my client has to write only the lenght of the banner, and the result will be 3x10 = 30 € ... furthermore I need, if possible, to have in my page the possibility to select which type of banner I want 200gr/250gr/300gr etc etc clearly each one of this has a different price .... Can you help me?

Thank you for every info you send me back.....

Link to comment
Share on other sites

it's easy to achieve with attributes. You can add attribute "quality" then add there options: 200gr/250gr/300gr.

YOu can setup different prices depending on whuch "qualtiy" type is selected.

 

By default prestashop has got "quantity" fields - customers can put there how many items they want to order. (3x€10)

Link to comment
Share on other sites

Thank you for your prompt reply but this is only a part of the problem in fact,

in which way I can obtain the total expence once I have selected the type of the

product and I've written its lenght?

To clarify:

 

I chose the 250 gr product and the program shows a cost of 10 €/meter

I think it 's not authomatic when I insert the lenght (5 meters) to obtain the result

of 5 meters x 10 €/meter = 50 €

 

In which way is this reachable???

 

Thank you very much

Link to comment
Share on other sites

take a look on the picture below

FMAj0xt.png

 

as you can see there is a quantity field. You can change this field for example to "meters" (in product.tpl file). When someone put there 5 and click add to cart, the price in cart is 5x1404,68€

 

if you want feature to show the price 5x1404,68 somewhere before the adding to cart , you have to create simple js script and edit product.tpl file

 

script will count new price and for example show it somewhere (where you want)

 

there is also another method, additional atribute "meters" you can define as many attribute values as you want (for example: 1,2,3,4,5,6,7,8,9,10,15,20,40) in this case you will have possibility to setup the price in back office for each attribute value

Link to comment
Share on other sites

well, it is possible, but in this case you have to configure the attributes and combinations.

check this demo page: http://demo-store.prestashop.com/en/electronics/30-ipad.html

there are several attributes, you can configure item as you want - price depends on attributes that you selected.

 

you can achieve this without any additional module, this is a part of default features in prestashop: http://doc.prestashop.com/display/PS15/Adding+Products+and+Product+Categories#AddingProductsandProductCategories-AddingProductCombinations

Link to comment
Share on other sites

good...but...my users should be able to enter the size manually, and prestashop should calculate the price according to the square meters that come out, for example, will establish a price of 5 € per square meter, if the user decides he wants a banner of 1.25 mt x 4mt = 5 square meters, therefore, 5 square meters x 5€ = 25 €

Link to comment
Share on other sites

Hi, there is also an Addon here, http://addons.prestashop.com/en/front-office-features-prestashop-modules/5628-product-properties-extension-sell-by-weight-lengthetc.html

 

It is compatible up to v.1.5.2 but I would contact the developer directly (click on Contact the Developer on the product page link given) to see if it will work with the latest version.

 

You can also post a Job Offer on the Job Offer Forum. http://www.prestashop.com/forums/forum/76-paid-modules-themes-job-offers-services/

Link to comment
Share on other sites

×
×
  • Create New...