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

#   Show product price by different units!

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

11 years 3 months ago [\#208383](#208383) by [nibs](/forum/user/38007-nibs "View nibs's Profile")  *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#208383 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")* was created by *[nibs](/forum/user/38007-nibs "View nibs's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 2.5.28
-- Browser(s) name and version -- : Mozilla

Hi,
We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices.
We have successfully export items from home made shop and import to Hikashop, create categories etc.

Now, we have problems how to adjust to show product price with different units. Only what we can see now is "Per unit" - all products price is per unit.

What we need?
For example
we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort)
we are selling

- Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)

- Tomato - per KG (so type how many kg and multiple with price - one by one is not important)

- Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)

There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc

If it is possible, please write down how to make this in details.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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: 14266
-
-

11 years 3 months ago [\#208388](#208388) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#208388 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

Our FAQ explains how to change the "per unit" on a per product basis in the section "I sell packed products, how can I change "each" text in the product page ?":
[ www.hikashop.com/support/support/documentation/106-faq.html](http://www.hikashop.com/support/support/documentation/106-faq.html)

Once that is setup, your custom product field can be filled automatically with a CSV import as you'll be able to use the "column name" of your custom field as a column of your CSV file.

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

10 years 8 months ago -  10 years 8 months ago [\#230411](#230411) by [reinerach](/forum/user/33579-reinerach "View reinerach's Profile")  Replied by *[reinerach](/forum/user/33579-reinerach "View reinerach's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#230411 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hello Nicolas,

i need close the same like user nibs in a little different way: I explain what i already did and what i need.

I already did like in the FAQ "I sell packed products, how can I change "each" text in the product page ?" and it works. So now i have price per unit (in german stück), price per roll, price per meter, price per liter, price per whatever.. The problem is, that i need to let this custom field work with "price_per_weight_unit" so the created customfields showing the different units counted down on the default value.. like example:

We sell a roll of tape in size 50m long each roll is 20€:

So the price must look like:
20€ inkl.MwSt. per Roll
0,4€/m zzgl. Versandkosten

so now i need to activate the price per weigth unit.. i already aded Liter (l) and ml but it is not possible to ad Meter(m) or (cm) to the list of weight units.
but i need this for german law close to the price (2.line) like the price per kg

how can i ad this characteristics to the list of possible weight units?

- [ ![2016-02-17&#95;3.png](/forum/attachment/29586) ](/forum/attachment/29586 "2016-02-17&#95;3.png") [ ](/forum/attachment/29586?download=1 "2016-02-17&#95;3.png")

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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: 14266
-
-

10 years 8 months ago [\#230447](#230447) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#230447 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

This is the line which displays the price per weight on the product page in the file "listing_price" of the view "product": Code:

echo $this-&gt;currencyHelper-&gt;format($weight_price,$price-&gt;price_currency_id).' / '.JText::_($this-&gt;row-&gt;product_weight_unit);

So if you want to change the weight unit to use the custom field value, you can change it to: Code:

echo $this-&gt;currencyHelper-&gt;format($weight_price,$price-&gt;price_currency_id).' / '.$this-&gt;row-&gt;salemethod;

The following user(s) said Thank You: [reinerach](/forum/user/33579-reinerach "View reinerach's Profile")

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

10 years 8 months ago -  10 years 8 months ago [\#230454](#230454) by [reinerach](/forum/user/33579-reinerach "View reinerach's Profile")  Replied by *[reinerach](/forum/user/33579-reinerach "View reinerach's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#230454 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

thank you ! It works fine ![:)](/media/kunena/emoticons/8.png ":)") sorry got to edit:

The funktion works, but the language override is not showing.. I tryed in both language files with override, but it still shows only the string not the override

now it looks like:

0,4€/GP_PRO_KG

where GP_PRO_KG is one of the values in custom field

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

Last edit: 10 years 8 months ago by [reinerach](/forum/user/33579-reinerach "View reinerach's Profile"). Reason: attachement

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

10 years 8 months ago [\#230526](#230526) by [reinerach](/forum/user/33579-reinerach "View reinerach's Profile")  Replied by *[reinerach](/forum/user/33579-reinerach "View reinerach's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#230526 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Or do i have to change the custom field to "item"?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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: 14266
-
-

10 years 8 months ago [\#230530](#230530) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#230530 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

Do like that then: Code:

echo $this-&gt;currencyHelper-&gt;format($weight_price,$price-&gt;price_currency_id).' / '.JText::_($this-&gt;row-&gt;salemethod);

The following user(s) said Thank You: [reinerach](/forum/user/33579-reinerach "View reinerach's Profile")

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

10 years 8 months ago [\#230577](#230577) by [reinerach](/forum/user/33579-reinerach "View reinerach's Profile")  Replied by *[reinerach](/forum/user/33579-reinerach "View reinerach's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#230577 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

HI,

Thanks, this is perfect! :woohoo: ![:)](/media/kunena/emoticons/8.png ":)")

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

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

Less More

- Posts: 31
- Thank you received: 2
-
-

10 years 5 months ago [\#239309](#239309) by [drfenning](/forum/user/31596-drfenning "View drfenning's Profile")  Replied by *[drfenning](/forum/user/31596-drfenning "View drfenning's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#239309 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

I changed the code in my listing_price.php

But don't understand the instructions:

And to finish, you just have to create a new translation, in Display -&gt; Languages, edit your language file and add in the override area :
PER_PACK="each pack"

I went to hikashop=&gt;display=&gt;views=&gt;
config / languages.php

But I don't know where the override area is. And am i just putting: PER_PACK="each pack" and nothing else?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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 5 months ago [\#239318](#239318) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#239318 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

Please follow these screenshots instructions:
[ take.ms/6rrlY](http://take.ms/6rrlY)
[ take.ms/KmPzu](http://take.ms/KmPzu)

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

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

Less More

- Posts: 31
- Thank you received: 2
-
-

10 years 5 months ago [\#239394](#239394) by [drfenning](/forum/user/31596-drfenning "View drfenning's Profile")  Replied by *[drfenning](/forum/user/31596-drfenning "View drfenning's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#239394 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

My client hasn't committed to buying the business license version yet, until she is confident that your shopping cart can do some custom things. Is the language overrides only available for a Essential or higher? The pop up window was blank.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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: 14266
-
-

10 years 5 months ago [\#239439](#239439) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#239439 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

The language override system is available for all the editions. If the popups are blank in your backend, it's probably a bug of the Joomla popup system which came up with Joomla 3.5.0 or 3.5.1. Make sure that you have the latest version of HikaShop and then set the "popup mode" setting of the HikaShop configuration to "vex" and the popups should then work fine.
Also, note that language overrides can be done in Joomla's languages manager since Joomla 3.2.x

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

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

Less More

- Posts: 31
- Thank you received: 2
-
-

10 years 5 months ago [\#239621](#239621) by [drfenning](/forum/user/31596-drfenning "View drfenning's Profile")  Replied by *[drfenning](/forum/user/31596-drfenning "View drfenning's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#239621 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Thanks, but vex didn't work. Any other ideas?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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 5 months ago [\#239634](#239634) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#239634 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

If you set the error reporting level to "maximum" in the Joomla settings, do you have any displayed message like PHP fatal error ?

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

9 years 5 months ago -  9 years 5 months ago [\#269785](#269785) by [Joman](/forum/user/39957-joman "View Joman's Profile")  Replied by *[Joman](/forum/user/39957-joman "View Joman's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#269785 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hello Nicolas,

Also i want to have the "right" unit behind the price.
I tried to do the same like in FAQ106. But the result isn't what i want. I have attached an jpg for you so you can see. changing the code in display=&gt;view doesn't change anything. i don't want to see the specification stuff, i just want to see "/m" behind the price of the product.

Thanks

[ ![Screenshot&#95;2017-05-18.JPG](/forum/attachment/38198) ](/forum/attachment/38198 "...2017-05-18.JPG")

- [ ![Screenshot&#95;2017-05-18.JPG](/forum/attachment/38198) ](/forum/attachment/38198 "...2017-05-18.JPG") [ ](/forum/attachment/38198?download=1 "...2017-05-18.JPG")

Last edit: 9 years 5 months ago by [Joman](/forum/user/39957-joman "View Joman's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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: 14266
-
-

9 years 5 months ago [\#269793](#269793) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#269793 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

You should turn off the frontend display setting of the custom field so that it doesn't display in the specification area.
Regarding having it just after the price, if you change the code in the view file like indicated in the FAQ it will work.
So something is wrong there. Maybe you've edited the view file for another template than the template you're using on your frontend ?

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

9 years 5 months ago [\#269955](#269955) by [Joman](/forum/user/39957-joman "View Joman's Profile")  Replied by *[Joman](/forum/user/39957-joman "View Joman's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#269955 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Thank you very much. Now it works. i didn't know that there is generated automatically a view file for every template - also the selfmade ones. But i have also to say that this should be a build in feature for every commercial shopping program - wihtout hacking code.

But anyway - thanks for the fast support.

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

9 years 5 months ago -  9 years 5 months ago [\#269960](#269960) by [Joman](/forum/user/39957-joman "View Joman's Profile")  Replied by *[Joman](/forum/user/39957-joman "View Joman's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#269960 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

what is the css class for editing the style of the "unit" behind the price?

Last edit: 9 years 5 months ago by [Joman](/forum/user/39957-joman "View Joman's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzgxNTktc2hvdy1wcm9kdWN0LXByaWNlLWJ5LWRpZmZlcmVudC11bml0cz90bXBsPW1hcmtkb3du) 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: 14266
-
-

9 years 5 months ago [\#269961](#269961) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#269961 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hi,

With the modification of the FAQ, there is no HTML element around the text.
But you can easily add it.
Just change to that code instead: Code:

if(isset($this-&gt;element-&gt;main)) echo '&lt;span class="hikashop_product_price_per_unit"&gt;'.JText::_($this-&gt;element-&gt;main-&gt;salemethod).'&lt;/span&gt;'; elseif(isset($this-&gt;row)) echo '&lt;span class="hikashop_product_price_per_unit"&gt;'.JText::_($this-&gt;row-&gt;salemethod).'&lt;/span&gt;'; else echo '&lt;span class="hikashop_product_price_per_unit"&gt;'.JText::_($this-&gt;element-&gt;salemethod).'&lt;/span&gt;';

And then you can use the class hikashop_product_price_per_unit in your CSS

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

9 years 5 months ago [\#270232](#270232) by [Joman](/forum/user/39957-joman "View Joman's Profile")  Replied by *[Joman](/forum/user/39957-joman "View Joman's Profile")* on topic *[Show product price by different units!](/forum/26-product-category-display/878159-show-product-price-by-different-units#270232 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : Mozilla  Hi, We are now testing Hikashop and some other Online shop solutions, for now we are in conflict with Hikashop setting up prices. We have successfully export items from home made shop and import to Hikashop, create categories etc.  Now, we have problems how to adjust to show product price with different units. Only what we can see now is &quot;Per unit&quot; - all products price is per unit.  What we need? For example we have Kiwi (10 sort), Tomato (5 sort) and Lemon (3 sort) we are selling  - Kiwi one by one - so price will be 1 Kiwi is 1$ (there is no opportunity to buy 1kg Kiwi, only price per quantity - one Kiwi is 30 grams one is 40 etc - so weight is not important here, only quantity)  - Tomato - per KG (so type how many kg and multiple with price - one by one is not important)  - Lemon - per box (so 1 box contains 5 Lemons and some boxes are 1 kg some 1,2 kg etc, but buyer can type just how many boxes of Lemon he want)  There is around 800 items in Hikashop, so is there oportunity to export all items and in Excel create in .csv file one column and set article X kg, aricle Y unit, article Z box etc  If it is possible, please write down how to make this in details.  Thank you")*

Hopefully the last question to the topic.

In the backend of the custom field there are on the right side the "display options" and here on the lower part i can select categories, subcategories and products. when i put the single products in the field than everything goes fine. But with about 50 Products which use different units it is some work to adjust them all like this. So i want to do this just by categories and subcategories but this seems not to work. what am i doinng wrong?,

Thank you

- [ ![CropperCapture1.jpg](/forum/attachment/38295) ](/forum/attachment/38295 "...erCapture1.jpg") [ ](/forum/attachment/38295?download=1 "...erCapture1.jpg")

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

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

[](#top)
