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

#   Change description after the price

##

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

Less More

- Posts: 17
- Thank you received: 1
-
-

12 years 7 months ago [\#149369](#149369) by [mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")  *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149369 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")* was created by *[mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop Business: 2.3.0
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

[ ![h7e271b9.PNG](/forum/attachment/16225) ](/forum/attachment/16225 "h7e271b9.PNG")

How can I change that description just for a few products?

- [ ![h7e271b9.PNG](/forum/attachment/16225) ](/forum/attachment/16225 "h7e271b9.PNG") [ ](/forum/attachment/16225?download=1 "h7e271b9.PNG")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 7 months ago [\#149375](#149375) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149375 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

Hi,
Note that it will depend on how you configured the "price" tab of your product configuration page (if you have set a "Minimum quantity" for your product price).
But if you don't want to change your product configuration the solution will probably be to edit the code of the "listing_price" file of the "product" view of your front-end template through "Hikashop-&gt;Display-&gt;Views".

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

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

Less More

- Posts: 17
- Thank you received: 1
-
-

12 years 7 months ago [\#149449](#149449) by [mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")  Replied by *[mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149449 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

I want to do, that I can change that for only a few products, so that the other products I have from food just "Per portie" is and that the workshop "Per person" and the Reis kosten "Per kilometer".

Whan I change the code than all the products will change, so I am looking for a possibility that I can change it for one product, maybe a possibility, that there is a field for at the product page.

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

12 years 7 months ago [\#149457](#149457) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149457 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

Yes, that's indeed a solution. We actually explain how to do that in the "I sell packed products, how can I change "each" text in the product page ?" section of our FAQ:
[ www.hikashop.com/support/support/documen...on/106-faq.html#tran](http://www.hikashop.com/support/support/documentation/106-faq.html#tran)

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

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

Less More

- Posts: 17
- Thank you received: 1
-
-

12 years 7 months ago [\#149544](#149544) by [mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")  Replied by *[mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149544 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

When i do that then all description of the other products are gone only the products I have saved again, gives the old valua "per portie" what has been changed in the language. After klik on those items I see Specificaties, but they cant be changed.

[ ![h8e0a9f3.PNG](/forum/attachment/16255) ](/forum/attachment/16255 "h8e0a9f3.PNG")

klik on the product gives this

[ ![hf93d414.PNG](/forum/attachment/16256) ](/forum/attachment/16256 "hf93d414.PNG")

The other ones looks like this one

[ ![h1463f78.PNG](/forum/attachment/16257) ](/forum/attachment/16257 "h1463f78.PNG")

- [ ![h8e0a9f3.PNG](/forum/attachment/16255) ](/forum/attachment/16255 "h8e0a9f3.PNG") [ ](/forum/attachment/16255?download=1 "h8e0a9f3.PNG")
- [ ![hf93d414.PNG](/forum/attachment/16256) ](/forum/attachment/16256 "hf93d414.PNG") [ ](/forum/attachment/16256?download=1 "hf93d414.PNG")
- [ ![h1463f78.PNG](/forum/attachment/16257) ](/forum/attachment/16257 "h1463f78.PNG") [ ](/forum/attachment/16257?download=1 "h1463f78.PNG")

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

12 years 7 months ago [\#149566](#149566) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149566 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

What modification did you do exactly and how did you configure your custom field ? Could you do some screenshots of that please ?

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

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

Less More

- Posts: 17
- Thank you received: 1
-
-

12 years 7 months ago [\#149669](#149669) by [mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")  Replied by *[mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149669 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

I changed product / listing_price with:

echo '&lt;/span&gt; ';
if(isset($price-&gt;price_min_quantity) &amp;&amp; empty($this-&gt;cart_product_price) &amp;&amp; $this-&gt;params-&gt;get('per_unit',1)){
if($price-&gt;price_min_quantity&gt;1){
echo '&lt;span class="hikashop_product_price_per_unit_x"&gt;'.JText::sprintf('PER_UNIT_AT_LEAST_X_BOUGHT',$price-&gt;price_min_quantity).'&lt;/span&gt;';
}else{

if(isset($this-&gt;element-&gt;main)) echo JText::_($this-&gt;element-&gt;main-&gt;salemethod);
elseif(isset($this-&gt;row)) echo JText::_($this-&gt;row-&gt;salemethod);
else echo JText::_($this-&gt;element-&gt;salemethod);

And this is my custom field:

[ ![h91b3935.PNG](/forum/attachment/16272) ](/forum/attachment/16272 "h91b3935.PNG")

- [ ![h91b3935.PNG](/forum/attachment/16272) ](/forum/attachment/16272 "h91b3935.PNG") [ ](/forum/attachment/16272?download=1 "h91b3935.PNG")

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

12 years 7 months ago [\#149758](#149758) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149758 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

Then, change the line:
else echo JText::_($this-&gt;element-&gt;salemethod);

to:
elseif(!empty($this-&gt;element-&gt;salemethod)) echo JText::_($this-&gt;element-&gt;salemethod);
else echo JText::_('PER_UNIT');

That way, you'll still have the default display if you don't save the products.

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

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

Less More

- Posts: 17
- Thank you received: 1
-
-

12 years 7 months ago -  12 years 6 months ago [\#149932](#149932) by [mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")  Replied by *[mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149932 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

It works now what I did:

change product / listing_price:

echo '&lt;/span&gt; ';
if(isset($price-&gt;price_min_quantity) &amp;&amp; empty($this-&gt;cart_product_price) &amp;&amp; $this-&gt;params-&gt;get('per_unit',1)){
if($price-&gt;price_min_quantity&gt;1){
echo '&lt;span class="hikashop_product_price_per_unit_x"&gt;'.JText::sprintf('PER_UNIT_AT_LEAST_X_BOUGHT',$price-&gt;price_min_quantity).'&lt;/span&gt;';
}else{
elseif(!empty($this-&gt;element-&gt;salemethod)) echo JText::_($this-&gt;element-&gt;salemethod);
else echo JText::_('PER_UNIT');

Modified translationfile:

[ ![hfd50c8c.PNG](/forum/attachment/16318) ](/forum/attachment/16318 "hfd50c8c.PNG")

And I didnt see that at the product page there was an extra field at the left bottom

[ ![hf67c0dd.PNG](/forum/attachment/16319) ](/forum/attachment/16319 "hf67c0dd.PNG")

thx for the help

- [ ![hfd50c8c.PNG](/forum/attachment/16318) ](/forum/attachment/16318 "hfd50c8c.PNG") [ ](/forum/attachment/16318?download=1 "hfd50c8c.PNG")
- [ ![hf67c0dd.PNG](/forum/attachment/16319) ](/forum/attachment/16319 "hf67c0dd.PNG") [ ](/forum/attachment/16319?download=1 "hf67c0dd.PNG")

Last edit: 12 years 6 months ago by [mfrancke](/forum/user/31432-mfrancke "View mfrancke's Profile").

The following user(s) said Thank You: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 7 months ago [\#149966](#149966) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Change description after the price](/forum/26-product-category-display/866873-change-description-after-the-price#149966 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop Business: 2.3.0 -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  How can I change that description just for a few products?")*

Thanks for your feedback ![:)](/media/kunena/emoticons/8.png ":)").

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

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

[](#top)
