[Skip to main content](#vessel-content)

#   fexible prices in custom fields

##

- **[mrairwolf](/forum/user/14856-mrairwolf "View mrairwolf's Profile")**
- [![mrairwolf's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14856-mrairwolf "View mrairwolf's Profile") Topic Author
- [ Offline](/forum/user/14856-mrairwolf)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 7 months ago [\#95049](#95049) by [mrairwolf](/forum/user/14856-mrairwolf "View mrairwolf's Profile")  *[fexible prices in custom fields](/forum/9-commercial-jobs/79408-fexible-prices-in-custom-fields#95049 "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 €.  i get this answer: 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 &quot;product / show&quot; 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.  Has anyone a solution or want to code this? And how much is the cost for it?  Rainer")* was created by *[mrairwolf](/forum/user/14856-mrairwolf "View mrairwolf's Profile")*

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 €.

i get this answer:
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 &amp;quot;product / show&amp;quot; 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.

Has anyone a solution or want to code this? And how much is the cost for it?

Rainer

- [ ![picture&#95;2013-03-18.gif](/forum/attachment/9198) ](/forum/attachment/9198 "...2013-03-18.gif") [ ](/forum/attachment/9198?download=1 "...2013-03-18.gif")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzktY29tbWVyY2lhbC1qb2JzLzc5NDA4LWZleGlibGUtcHJpY2VzLWluLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")**
- [![PolishedGeek's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar8378_2012-07-29-5.png)](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")
- [ Offline](/forum/user/8378-polishedgeek)
- Official HikaShop Development Partner

Less More

- Posts: 329
- Thank you received: 94
-
- [](http://PolishedGeek.com/?utm_source=hikashop)
-

13 years 6 months ago [\#99866](#99866) by [PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")  Replied by *[PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")* on topic *[fexible prices in custom fields](/forum/9-commercial-jobs/79408-fexible-prices-in-custom-fields#99866 "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 €.  i get this answer: 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 &quot;product / show&quot; 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.  Has anyone a solution or want to code this? And how much is the cost for it?  Rainer")*

Curious - Did you ever get a solution for this?

---

~ Deb Cinkus, CEO

Polished Geek: more with monday․com
eCommerce Business Process Automation Experts

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzktY29tbWVyY2lhbC1qb2JzLzc5NDA4LWZleGlibGUtcHJpY2VzLWluLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[mrairwolf](/forum/user/14856-mrairwolf "View mrairwolf's Profile")**
- [![mrairwolf's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14856-mrairwolf "View mrairwolf's Profile") Topic Author
- [ Offline](/forum/user/14856-mrairwolf)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 6 months ago [\#99876](#99876) by [mrairwolf](/forum/user/14856-mrairwolf "View mrairwolf's Profile")  Replied by *[mrairwolf](/forum/user/14856-mrairwolf "View mrairwolf's Profile")* on topic *[fexible prices in custom fields](/forum/9-commercial-jobs/79408-fexible-prices-in-custom-fields#99876 "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 €.  i get this answer: 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 &quot;product / show&quot; 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.  Has anyone a solution or want to code this? And how much is the cost for it?  Rainer")*

Hi, no i get no solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzktY29tbWVyY2lhbC1qb2JzLzc5NDA4LWZleGlibGUtcHJpY2VzLWluLWN1c3RvbS1maWVsZHM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.047 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
