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

#   multiple prices o single product page

##

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

Less More

- Posts: 24
- Thank you received: 2
-
-

5 years 11 months ago [\#325810](#325810) by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile")  *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#325810 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")* was created by *[jokysax](/forum/user/46775-jokysax "View jokysax's Profile")*

Hi,

how can I have multiple prices on single product page like on this website:
[ www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective](https://www.mastrant.com/on-line-shop/product/5798-guyrope-mastrant-s-6-mm-reflective)

?
thank you

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

Less More

- Posts: 86358
- Thank you received: 14290
-
-

5 years 11 months ago [\#325812](#325812) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#325812 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

Hi,

You can create a characteristic with one value per line via the menu Products&gt;Characteristics.
Then, add that characteristic to your product, and add variants for the values of the characteristic in the product.
Finally, in the HikaShop configuration, set the "characteristic selection method" to "list" and it will display like on your link.

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

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

Less More

- Posts: 24
- Thank you received: 2
-
-

5 years 11 months ago -  5 years 11 months ago [\#325868](#325868) by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile")  Replied by *[jokysax](/forum/user/46775-jokysax "View jokysax's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#325868 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

thank you, but what in case I would like have "characteristic selection method" set to "list" only for one cattegory of products? on others categegories I would like have characteristic selection method" set to radio button or dropdown.

Last edit: 5 years 11 months ago by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile").

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

Less More

- Posts: 86358
- Thank you received: 14290
-
-

5 years 11 months ago [\#325899](#325899) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#325899 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

Hi,

There is no option for that.
That would require some custom coding in the file show_block_characteristic.php via the menu Display&gt;Views to switch the selection mode based on the categories in the array $this-&gt;categories
So if you're a developer or with the help of one you could do it.

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

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

Less More

- Posts: 24
- Thank you received: 2
-
-

5 years 11 months ago -  5 years 11 months ago [\#325913](#325913) by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile")  Replied by *[jokysax](/forum/user/46775-jokysax "View jokysax's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#325913 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

I am a weak programmer, but I can insert conditions in code. Can you show sample code with categories conditions and what code and rows have to be changed in show_block_characteristic.php file?
Thank you

Last edit: 5 years 11 months ago by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile").

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

Less More

- Posts: 86358
- Thank you received: 14290
-
-

5 years 11 months ago [\#325928](#325928) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#325928 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

Hi,

Well, it's not about changing code in that view file, but more about adding custom code at the beginning of that view file.
For example: Code:

&lt;?php $mainCategory = reset($this-&gt;categories); if($mainCategory-&gt;category_id == xx) $this-&gt;params-&gt;set('characteristic_display', 'list'); ?&gt;

That would set the list mode for the products where the main category is with the id xx.

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

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

Less More

- Posts: 24
- Thank you received: 2
-
-

5 years 11 months ago -  5 years 11 months ago [\#325980](#325980) by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile")  Replied by *[jokysax](/forum/user/46775-jokysax "View jokysax's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#325980 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

Thank you,![:)](/media/kunena/emoticons/3.png ":)") [ ![list&#95;view.png](/forum/attachment/51061) ](/forum/attachment/51061 "list&#95;view.png")

here is my code at the beginning of that view file:

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 4.4.0
* @author hikashop.com
* @copyright (C) 2010-2020 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/

defined('_JEXEC') or die('Restricted access');
?&gt;
&lt;?php
if(empty($this-&gt;element-&gt;characteristics))
return;
?&gt;

&lt;?php
$mainCategory = reset($this-&gt;categories);
if($mainCategory-&gt;category_id == 48)
$this-&gt;params-&gt;set('characteristic_display', 'list');
?&gt;

&lt;div id="hikashop_product_characteristics" class="hikashop_product_characteristics"&gt;
&lt;?php

if($this-&gt;params-&gt;get('characteristic_display') != 'list') {
$app = JFactory::getApplication();
$config = hikashop_config();
$characteristics_dynamic_display = $config-&gt;get('characteristics_dynamic_display', 1);

$this-&gt;characteristics=&amp;$this-&gt;element-&gt;main-&gt;characteristics;

it works, but list view is viewed as on attached picture. The characteristics block is viewed two times and text "cena" (english price) have big font. :huh:

- [ ![list&#95;view.png](/forum/attachment/51061) ](/forum/attachment/51061 "list&#95;view.png") [ ](/forum/attachment/51061?download=1 "list&#95;view.png")

Last edit: 5 years 11 months ago by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile").

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

Less More

- Posts: 86358
- Thank you received: 14290
-
-

5 years 11 months ago [\#326011](#326011) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#326011 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

Hi,

Then please try adding that code to product / show.php instead.

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

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

Less More

- Posts: 24
- Thank you received: 2
-
-

5 years 11 months ago [\#326059](#326059) by [jokysax](/forum/user/46775-jokysax "View jokysax's Profile")  Replied by *[jokysax](/forum/user/46775-jokysax "View jokysax's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#326059 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

thank you, it works now:)
Its possible to move product description to position as on attached picture ?
Thank you.

- [ ![list&#95;view2.png](/forum/attachment/51081) ](/forum/attachment/51081 "list&#95;view2.png") [ ](/forum/attachment/51081?download=1 "list&#95;view2.png")

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

Less More

- Posts: 86358
- Thank you received: 14290
-
-

5 years 11 months ago [\#326080](#326080) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[multiple prices o single product page](/forum/26-product-category-display/901187-multiple-prices-o-single-product-page#326080 "Hi,  how can I have multiple prices on single product page like on this website:   www.mastrant.com/on-line-shop/product/57...nt-s-6-mm-reflective  ? thank you")*

Hi,

It should already be there but hidden with some CSS.
So just change / override that CSS to have it appear and add more CSS to hide the other one.
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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