- Posts: 4
- Thank you received: 0
fexible prices in custom fields
13 years 6 months ago #94882
by mrairwolf
fexible prices in custom fields was created by mrairwolf
Hi, is it possible to use a custom field to calculate prices in form of free input for millimeters as witdh an height.
I mean, that my Customer want to buy an article with 80 mm x 40 mm, 90 mm x 20 mm, the price for 100 mm x 100mm is 20 €.
Therefore the first costs 6,40 € and the 2 second costs 3,60 €.
Has anyone a solution or want to code this? And how much is the cost for this?
Rainer
I mean, that my Customer want to buy an article with 80 mm x 40 mm, 90 mm x 20 mm, the price for 100 mm x 100mm is 20 €.
Therefore the first costs 6,40 € and the 2 second costs 3,60 €.
Has anyone a solution or want to code this? And how much is the cost for this?
Rainer
Please Log in or Create an account to join the conversation.
13 years 6 months ago - 13 years 6 months ago #94978
by Xavier
Replied by Xavier on topic fexible prices in custom fields
Hi,
You have to create two custom fields, one for the length the other one for the width.
Then add some js code in the view "product / show" to add action onmouseout of the input.
And it will calculate the price depending on the original price and the dimensions.
Then change the price value in the php var.
I suggest to post in the commercial jobs section of this forum.
Can the customer set any dimensions or there is defined dimensions ?
If defined, you can use the variants:
www.hikashop.com/en/support/documentatio...html#characteristics
You have to create two custom fields, one for the length the other one for the width.
Then add some js code in the view "product / show" to add action onmouseout of the input.
And it will calculate the price depending on the original price and the dimensions.
Then change the price value in the php var.
I suggest to post in the commercial jobs section of this forum.
Can the customer set any dimensions or there is defined dimensions ?
If defined, you can use the variants:
www.hikashop.com/en/support/documentatio...html#characteristics
Last edit: 13 years 6 months ago by Xavier.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #95020
by mrairwolf
Replied by mrairwolf on topic fexible prices in custom fields
Hi Xavier, thanks for answer and the golden tip. Can you do it for me, what did you think about the costs?
Rainer
Rainer
Please Log in or Create an account to join the conversation.
13 years 6 months ago #95219
by Xavier
Replied by Xavier on topic fexible prices in custom fields
Hi,
I answered in PM.
I answered in PM.
Please Log in or Create an account to join the conversation.
Time to create page: 0.167 seconds