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

#   New feature

##

- **[adoewa](/forum/user/3502-adoewa "View adoewa's Profile")**
- [![adoewa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3502.png)](/forum/user/3502-adoewa "View adoewa's Profile") Topic Author
- [ Offline](/forum/user/3502-adoewa)

Less More

- Posts: 35
- Thank you received: 0
-
-
-
- [](http://www.adoewa.be)
-

15 years 2 months ago [\#24377](#24377) by [adoewa](/forum/user/3502-adoewa "View adoewa's Profile")  *[New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#24377 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")* was created by *[adoewa](/forum/user/3502-adoewa "View adoewa's Profile")*

Hi,

I would like to see the option to set the following per product.

selling per piece, per m², per m³, per m, per kg...

Koen

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI0Mzc3LW5ldy1mZWF0dXJlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 2 months ago [\#24390](#24390) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#24390 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

You can do it by creating a price quantity calculation override plugin and custom fields of the table "item".

[ www.hikashop.com/support/documentation/6...tation.html#override](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#override)

Here is an example of such plugin for selling per kg. You will need to have a custom item field with the column name being "ordered_weight" for it to work.

####  *This attachment is hidden for guests.
Please log in or register to see it.*

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

- **[adoewa](/forum/user/3502-adoewa "View adoewa's Profile")**
- [![adoewa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3502.png)](/forum/user/3502-adoewa "View adoewa's Profile") Topic Author
- [ Offline](/forum/user/3502-adoewa)

Less More

- Posts: 35
- Thank you received: 0
-
-
-
- [](http://www.adoewa.be)
-

15 years 1 month ago [\#24604](#24604) by [adoewa](/forum/user/3502-adoewa "View adoewa's Profile")  Replied by *[adoewa](/forum/user/3502-adoewa "View adoewa's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#24604 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

Nicolas,

I think i have don what you suggested, but this is what i get.

I want to know if its possible to replace the "per stuk" with the value wich i entered into the custom field.

Koen
adoewa  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/perstuk.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/perstuk.png "&#91;img")

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI0Mzc3LW5ldy1mZWF0dXJlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

15 years 1 month ago [\#24607](#24607) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#24607 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

Oh. I didn't understand what you wanted to do. I thought that you wanted to sell products with the price varying based on the weight/surface/length entered by the user.

What you want is just to change the "per item" dynamically, like explained there:
[ www.hikashop.com/support/forum/4-how-to/...t.html?lang=en#22619](http://www.hikashop.com/support/forum/4-how-to/20874-price-by-weight.html?lang=en#22619)

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

- **[adoewa](/forum/user/3502-adoewa "View adoewa's Profile")**
- [![adoewa's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3502.png)](/forum/user/3502-adoewa "View adoewa's Profile") Topic Author
- [ Offline](/forum/user/3502-adoewa)

Less More

- Posts: 35
- Thank you received: 0
-
-
-
- [](http://www.adoewa.be)
-

15 years 1 month ago [\#24611](#24611) by [adoewa](/forum/user/3502-adoewa "View adoewa's Profile")  Replied by *[adoewa](/forum/user/3502-adoewa "View adoewa's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#24611 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

Thanks Nicolas...

Works perfect...

Maybe an idea in a next version...

Now you have in volume:
Lenght
Width
Height

Maybe adding Thikness and selling by ordered_weight

73 de Koen
adoewa

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 4 months ago [\#206048](#206048) by [Webwindow](/forum/user/32312-webwindow "View Webwindow's Profile")  Replied by *[Webwindow](/forum/user/32312-webwindow "View Webwindow's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#206048 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

Hi Nicolas,

I am not sure how to implement this. I have downloaded the "plug in" from what I see it has 2 files, what do I do with these files?

I was able to create the "item" field "ordered_weight" but I am really not sure how to activate or make the plug-in. I don't really know code but are comfortable to follow instructions if code needs to be inserted via code editor.

Currently using Hika Business + Front End edition.

This seems like a very sought after feature I am surprised it is not included in the component already, I have used j2store too which does this very well but is very limited in other areas.... I would rather get this working in HikaShop.

I would appreciate any more specific instruction you could give me.

Thanks so much.

> nicolas wrote: You can do it by creating a price quantity calculation override plugin and custom fields of the table "item".
>
> [ www.hikashop.com/support/documentation/6...tation.html#override](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#override)
>
>
> Here is an example of such plugin for selling per kg. You will need to have a custom item field with the column name being "ordered\_weight" for it to work.
>
> ####  *This attachment is hidden for guests.
> Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI0Mzc3LW5ldy1mZWF0dXJlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

11 years 4 months ago [\#206056](#206056) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#206056 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

Hi,

You can simply install the plugin zip file via the Joomla extension installer, like any other Joomla extension. Then, enable it via the Joomla plugins manager, like you would for any Joomla plugin you're installing on your website.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 4 months ago [\#206110](#206110) by [Webwindow](/forum/user/32312-webwindow "View Webwindow's Profile")  Replied by *[Webwindow](/forum/user/32312-webwindow "View Webwindow's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#206110 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

OK thanks for that. I tried to install but received this message

[ ![Capture.png](/forum/attachment/25136) ](/forum/attachment/25136 "Capture.png")

Is there another process for installing this plugin?

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI0Mzc3LW5ldy1mZWF0dXJlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

11 years 4 months ago -  11 years 4 months ago [\#206099](#206099) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#206099 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

Hi,

This is actually an old version of the plugin which was made for Joomla 1.5/2.5.
For Joomla 3, you want to install this plugin instead:

*This attachment is hidden for guests.
Please log in or register to see it.*

Last edit: 11 years 4 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzI0Mzc3LW5ldy1mZWF0dXJlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

9 years 4 months ago [\#270582](#270582) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: New feature](/forum/2-general-talk-about-hikashop/24377-new-feature#270582 "Hi,  I would like to see the option to set the following per product.  selling per piece, per m², per m³, per m, per kg...  Koen")*

Hi,

The input box has to be created via the menu Display&gt;Custom fields by creating one of the table "item".
And in the plugin settings, you need to enter the column name of the custom field in the "Weight custom field column name" setting, otherwise, the value entered in the custom field will be ignored by the plugin on the cart to recalculate the price of the product.
So please check on that.

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

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

[](#top)
