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

#   product weight by price

##

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

Less More

- Posts: 56
- Thank you received: 0
-
-

9 years 9 months ago [\#263131](#263131) by [ebrahimahamdi](/forum/user/45709-ebrahimahamdi "View ebrahimahamdi's Profile")  *[product weight by price](/forum/35-orders-management/888999-product-weight-by-price#263131 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.3 -- Browser(s) name and version -- : firefox 47  i sell rice in my shop , i should say that in my country there is custom about buying rice which the customer say price and the seller sell him the rice weight by the price . now i didn't found a way to make a situation that my customer enter the price and then the hikashop give them a weight . how can i do that ?:)")* was created by *[ebrahimahamdi](/forum/user/45709-ebrahimahamdi "View ebrahimahamdi's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.3
-- Browser(s) name and version -- : firefox 47

i sell rice in my shop , i should say that in my country there is custom about buying rice which the customer say price and the seller sell him the rice weight by the price .
now i didn't found a way to make a situation that my customer enter the price and then the hikashop give them a weight . how can i do that ?![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODk5OS1wcm9kdWN0LXdlaWdodC1ieS1wcmljZT90bXBsPW1hcmtkb3du) 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: 86583
- Thank you received: 14324
-
-

9 years 9 months ago [\#263143](#263143) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[product weight by price](/forum/35-orders-management/888999-product-weight-by-price#263143 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.3 -- Browser(s) name and version -- : firefox 47  i sell rice in my shop , i should say that in my country there is custom about buying rice which the customer say price and the seller sell him the rice weight by the price . now i didn't found a way to make a situation that my customer enter the price and then the hikashop give them a weight . how can i do that ?:)")*

Hi,

I don't see a way to do that without custom coding to calculate that weight in javascript in a custom field.

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

9 years 9 months ago [\#263240](#263240) by [ebrahimahamdi](/forum/user/45709-ebrahimahamdi "View ebrahimahamdi's Profile")  Replied by *[ebrahimahamdi](/forum/user/45709-ebrahimahamdi "View ebrahimahamdi's Profile")* on topic *[product weight by price](/forum/35-orders-management/888999-product-weight-by-price#263240 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.3 -- Browser(s) name and version -- : firefox 47  i sell rice in my shop , i should say that in my country there is custom about buying rice which the customer say price and the seller sell him the rice weight by the price . now i didn't found a way to make a situation that my customer enter the price and then the hikashop give them a weight . how can i do that ?:)")*

how can i write custome code

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODk5OS1wcm9kdWN0LXdlaWdodC1ieS1wcmljZT90bXBsPW1hcmtkb3du) 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: 86583
- Thank you received: 14324
-
-

9 years 9 months ago [\#263248](#263248) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[product weight by price](/forum/35-orders-management/888999-product-weight-by-price#263248 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.3 -- Browser(s) name and version -- : firefox 47  i sell rice in my shop , i should say that in my country there is custom about buying rice which the customer say price and the seller sell him the rice weight by the price . now i didn't found a way to make a situation that my customer enter the price and then the hikashop give them a weight . how can i do that ?:)")*

Hi,

You can edit the file "show_default" via the menu Display&gt;Views and write your PHP/javascript code in there.

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

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