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

#   Custom Price based on 3 backend custom field

##

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

Less More

- Posts: 86
- Thank you received: 3
-
-

10 years 10 months ago -  10 years 10 months ago [\#225147](#225147) by [magickarle](/forum/user/15129-magickarle "View magickarle's Profile")  *[Custom Price based on 3 backend custom field](/forum/31-development/881285-custom-price-based-on-3-backend-custom-field#225147 "-- url of the page with the problem -- :   beta.sofasurmesure.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Greetings. I would like to have the displayed prices based on 3 backend custom fields: CostEXW (cost of product). cbm (cubic meters) profitratio (the ratio of profit).  Questions: 1-Can I assign different values of profitratio based on the product categories? (ie: sofas would be 1, dining tables 1.2, cofee tables 2.5) 2-What plugin should I base myself (donation or custom quantity). 3-Is it safe to enter the cost of product in backend custom field (I do not want this info to be leaked). 4-My end formula would be: (costEXW&#42;(1+profitratio)+(cbm&#42;200&#42;95))&#42;104&#42;104 5-If I give you access as admin, can you implement the change?  Thanks")* was created by *[magickarle](/forum/user/15129-magickarle "View magickarle's Profile")*

-- url of the page with the problem -- : [ beta.sofasurmesure.com](http://beta.sofasurmesure.com)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8

Greetings.
I would like to have the displayed prices based on 3 backend custom fields:
CostEXW (cost of product).
cbm (cubic meters)
profitratio (the ratio of profit).

Questions:
1-Can I assign different values of profitratio based on the product categories? (ie: sofas would be 1, dining tables 1.2, cofee tables 2.5)
2-What plugin should I base myself (donation or custom quantity).
3-Is it safe to enter the cost of product in backend custom field (I do not want this info to be leaked).
4-My end formula would be: (costEXW*(1+profitratio)+(cbm*200*95))*104*104
5-If I give you access as admin, can you implement the change?

Thanks

Last edit: 10 years 10 months ago by [magickarle](/forum/user/15129-magickarle "View magickarle's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 10 months ago [\#225156](#225156) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom Price based on 3 backend custom field](/forum/31-development/881285-custom-price-based-on-3-backend-custom-field#225156 "-- url of the page with the problem -- :   beta.sofasurmesure.com  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.8  Greetings. I would like to have the displayed prices based on 3 backend custom fields: CostEXW (cost of product). cbm (cubic meters) profitratio (the ratio of profit).  Questions: 1-Can I assign different values of profitratio based on the product categories? (ie: sofas would be 1, dining tables 1.2, cofee tables 2.5) 2-What plugin should I base myself (donation or custom quantity). 3-Is it safe to enter the cost of product in backend custom field (I do not want this info to be leaked). 4-My end formula would be: (costEXW&#42;(1+profitratio)+(cbm&#42;200&#42;95))&#42;104&#42;104 5-If I give you access as admin, can you implement the change?  Thanks")*

Hi,

1. Yes it is possible, you can create custom product fields and then set the values on the product edition pages, or via the mass actions to be fastest.
2. The best is to take example on the plugin "system / custom_quantity_width_length_weight"
3. If you set the custom fields to not be displayed on frontend so it is safe. As it require PHP code to display their values, so end customer can't see it.
4. No problem for the end formula, it can be used in the plugin directly.
5. We don't do this kind of customizations, but you can post a request in the commercial jobs section of this forum.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTI4NS1jdXN0b20tcHJpY2UtYmFzZWQtb24tMy1iYWNrZW5kLWN1c3RvbS1maWVsZD90bXBsPW1hcmtkb3du) 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.048 seconds

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