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

#   price per m2 and fixed prices

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

8 years 7 months ago [\#291264](#291264) by [fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")  *[price per m2 and fixed prices](/forum/32-content-creation/894431-price-per-m2-and-fixed-prices#291264 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.29 -- Browser(s) name and version -- : firefox  I sell products for fixed prices and produkts per m2  For the products per m2 i followed your instructions and that is working fine.  I changed in the language file the PER&#95;UNIT=&quot; Pro stück&quot; into Preis pro m² but then the fixed prices get also Preis pro m², as expected.  How do i set up for one product Preis pro m² and for the other Preis pro Stuck.")* was created by *[fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.6
-- PHP version -- : 7.0.29
-- Browser(s) name and version -- : firefox

I sell products for fixed prices and produkts per m2

For the products per m2 i followed your instructions and that is working fine.

I changed in the language file the PER_UNIT=" Pro stück" into Preis pro m² but then the fixed prices get also Preis pro m², as expected.

How do i set up for one product Preis pro m² and for the other Preis pro Stuck.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0NDMxLXByaWNlLXBlci1tMi1hbmQtZml4ZWQtcHJpY2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

8 years 7 months ago [\#291266](#291266) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[price per m2 and fixed prices](/forum/32-content-creation/894431-price-per-m2-and-fixed-prices#291266 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.29 -- Browser(s) name and version -- : firefox  I sell products for fixed prices and produkts per m2  For the products per m2 i followed your instructions and that is working fine.  I changed in the language file the PER&#95;UNIT=&quot; Pro stück&quot; into Preis pro m² but then the fixed prices get also Preis pro m², as expected.  How do i set up for one product Preis pro m² and for the other Preis pro Stuck.")*

Hi,

You didn't follow our instructions from the FAQ then ![:)](/media/kunena/emoticons/3.png ":)")
Please look at the section "I sell packed products, how can I change "each" text in the product page ?" in our FAQ which explains how to do what you want:
[ www.hikashop.com/support/documentation/106-faq.html#tran](https://www.hikashop.com/support/documentation/106-faq.html#tran)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0NDMxLXByaWNlLXBlci1tMi1hbmQtZml4ZWQtcHJpY2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 15
- Thank you received: 0
-
-

8 years 7 months ago [\#291315](#291315) by [fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")  Replied by *[fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")* on topic *[price per m2 and fixed prices](/forum/32-content-creation/894431-price-per-m2-and-fixed-prices#291315 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.29 -- Browser(s) name and version -- : firefox  I sell products for fixed prices and produkts per m2  For the products per m2 i followed your instructions and that is working fine.  I changed in the language file the PER&#95;UNIT=&quot; Pro stück&quot; into Preis pro m² but then the fixed prices get also Preis pro m², as expected.  How do i set up for one product Preis pro m² and for the other Preis pro Stuck.")*

Hi Nicolas,

I missed that one thanks.

Can one change the texst of the ad to cart button the same way?
I used the element inspector and found hikashop_produkt_form, but i don't see that file
in the display vieuw list

Best regards
Andries

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0NDMxLXByaWNlLXBlci1tMi1hbmQtZml4ZWQtcHJpY2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

8 years 7 months ago [\#291316](#291316) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[price per m2 and fixed prices](/forum/32-content-creation/894431-price-per-m2-and-fixed-prices#291316 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.29 -- Browser(s) name and version -- : firefox  I sell products for fixed prices and produkts per m2  For the products per m2 i followed your instructions and that is working fine.  I changed in the language file the PER&#95;UNIT=&quot; Pro stück&quot; into Preis pro m² but then the fixed prices get also Preis pro m², as expected.  How do i set up for one product Preis pro m² and for the other Preis pro Stuck.")*

Hi,

It's possible. You need to create a custom field of the table "product" with the column name "product_addtocart_message" and it will be taken into account automatically for the text of the add to cart button.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0NDMxLXByaWNlLXBlci1tMi1hbmQtZml4ZWQtcHJpY2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 15
- Thank you received: 0
-
-

8 years 6 months ago [\#291691](#291691) by [fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")  Replied by *[fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")* on topic *[price per m2 and fixed prices](/forum/32-content-creation/894431-price-per-m2-and-fixed-prices#291691 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.29 -- Browser(s) name and version -- : firefox  I sell products for fixed prices and produkts per m2  For the products per m2 i followed your instructions and that is working fine.  I changed in the language file the PER&#95;UNIT=&quot; Pro stück&quot; into Preis pro m² but then the fixed prices get also Preis pro m², as expected.  How do i set up for one product Preis pro m² and for the other Preis pro Stuck.")*

Hello Nicolas,

Thanks i am going to try that.

I want the customer to be able to give the size of length and width in cm. I changed the php code of the custom length and width plugin from
$quantity = $quantity*$product-&gt;length*$product-&gt;width;
to
$quantity = $quantity*(($product-&gt;length*$product-&gt;width)/10000);

calculation works fine but in the email to the customer the price is multiplied by 10.000. See screenprint. I can't understand why.
[ ![email.png](/forum/attachment/43461) ](/forum/attachment/43461 "email.png")

- [ ![email.png](/forum/attachment/43461) ](/forum/attachment/43461 "email.png") [ ](/forum/attachment/43461?download=1 "email.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0NDMxLXByaWNlLXBlci1tMi1hbmQtZml4ZWQtcHJpY2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

8 years 6 months ago [\#291692](#291692) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[price per m2 and fixed prices](/forum/32-content-creation/894431-price-per-m2-and-fixed-prices#291692 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.29 -- Browser(s) name and version -- : firefox  I sell products for fixed prices and produkts per m2  For the products per m2 i followed your instructions and that is working fine.  I changed in the language file the PER&#95;UNIT=&quot; Pro stück&quot; into Preis pro m² but then the fixed prices get also Preis pro m², as expected.  How do i set up for one product Preis pro m² and for the other Preis pro Stuck.")*

Hi,

Did you correctly made the change for both of these lines in the plugin code ?
[ monosnap.com/file/QF945N8uymZoDHBrb13hq4pVwxg1QL](https://monosnap.com/file/QF945N8uymZoDHBrb13hq4pVwxg1QL)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0NDMxLXByaWNlLXBlci1tMi1hbmQtZml4ZWQtcHJpY2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 15
- Thank you received: 0
-
-

8 years 6 months ago [\#291738](#291738) by [fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")  Replied by *[fensi.hu@hotmail.com](/forum/user/43038-fensi-hu-hotmail-com "View fensi.hu@hotmail.com's Profile")* on topic *[price per m2 and fixed prices](/forum/32-content-creation/894431-price-per-m2-and-fixed-prices#291738 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.6 -- PHP version -- : 7.0.29 -- Browser(s) name and version -- : firefox  I sell products for fixed prices and produkts per m2  For the products per m2 i followed your instructions and that is working fine.  I changed in the language file the PER&#95;UNIT=&quot; Pro stück&quot; into Preis pro m² but then the fixed prices get also Preis pro m², as expected.  How do i set up for one product Preis pro m² and for the other Preis pro Stuck.")*

Hello Nicolas,

No i did not change both lines, now i did and it works fine.

Thanks for helping out.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODk0NDMxLXByaWNlLXBlci1tMi1hbmQtZml4ZWQtcHJpY2VzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.081 seconds

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