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

#   \[SOLVED\]Product page-no price

##

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago -  12 years 11 months ago [\#133782](#133782) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  *[\[SOLVED\]Product page-no price](/forum/26-product-category-display/863849-solved-product-page-no-price#133782 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")* was created by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")*

Hello again ![:)](/media/kunena/emoticons/3.png ":)").

Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX,
but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.

I want this option to browse products without going to the store

Last edit: 12 years 11 months ago by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile").

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

12 years 11 months ago [\#133877](#133877) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#133877 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Hi,

For the product page, go in the Display tab of the configuration and turn off the "show price" option there and it will apply for the product page.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago -  12 years 11 months ago [\#133884](#133884) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  Replied by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#133884 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Thx.
But i dont want no prize for global setting but for specific page.

Last edit: 12 years 11 months ago by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile").

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

12 years 11 months ago [\#133898](#133898) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#133898 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Then you need to say it when you ask ![:)](/media/kunena/emoticons/3.png ":)")

Instead of doing that, keep the show price option turned on and just change the "free" text with a translation override:
[ www.hikashop.com/download/languages.html#modify](http://www.hikashop.com/download/languages.html#modify)

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago [\#134001](#134001) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  Replied by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")* on topic *[Product page-no price](/forum/26-product-category-display/863849-solved-product-page-no-price#134001 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Thanks,

But in my case, the situation is more complicated.

For every product I have set two prices. For registered users and public users. In addition,I wants to add a page with the same products as the shop where I could display the products without a price. So I cant add "free" for public users.

Maybe, that I understood you wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjM4NDktc29sdmVkLXByb2R1Y3QtcGFnZS1uby1wcmljZT90bXBsPW1hcmtkb3du) 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 11 months ago -  12 years 11 months ago [\#134015](#134015) 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 *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134015 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Hi,

> For every product I have set two prices. For registered users and public users. In addition,I wants to add a page with the same products as the shop where I could display the products without a price. So I cant add "free" for public users.

If you don't want the "free" text to be displayed you'll just have to edit your translation file through "*Hikashop-&gt;System-&gt;Configuration-&gt;Language-&gt;YourTranslationFile*", and change this line : Code:

FREE_PRICE="Free"

By : Code:

FREE_PRICE=" "

Note that if your situation is more complicated than that, you'll have to give us more information.

Last edit: 12 years 11 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago [\#134020](#134020) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  Replied by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134020 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

I still dont know how well introduce my problem. So I will use an example:

Menu: Home, About us, Product, Shop
Users: Register(lower prices), Public(higher prices).
Example product: "X"

If public user go to the "shop" menu and go to X product page, X cost 100$.
If register user go to the "shop" menu and go to the X product page, X cost 50$
(This work!) And my case:

If public/register user go to the "product" menu he should see exactly the same product as in the "shop" menu. So if public/register user go to the "product" meny and go to the X product page, X cost nothing(i know how set tranlation from free to nothing) and he cant add X to the bascet.

So "product" menu is only preview page for all products. I know how set no price for all product from specyfic category(Associated products listing for category listing menu). But if public/register user enter X product page in "product" menu he see still price.

I cant add new access in hikashop with free price, becouse public/register users must see diffrent prices in "shop" menu.

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

12 years 11 months ago [\#134077](#134077) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134077 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Hi,

So to be sure:
- Product menu &gt; Display products without prices and without add to cart button
- Shop menu &gt; Display products with prices (one for public, one different and lower for registered) and add to cart button

Actually, the shop menu is fine with the two different prices, etc.

What you want is hide the price and the add to cart button when reaching the products from the product menu, right ?

If it is, it will require some custom code to check from which menu we come and display or not the price and the button.
You will have to edit the view "product / show_default" and add a code like: Code:

global $Itemid; if(isset($Itemid) &amp;&amp; $Itemid != 'xx'){ ... }

where "xx" is the desired menu id.

Place this if condition around the quantity and listing_price parts. You can find them thanks to the comments in the view.

The following user(s) said Thank You: [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago -  12 years 11 months ago [\#134128](#134128) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  Replied by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134128 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Hi,

Great solution! :woohoo:

I have modified some code that you entered me. I'm not fluent in PHP(beginner), so if you think you can do it better let me know.

1. First i modified: &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt;&lt;/span&gt; Code:

&lt;?php global $Itemid; if(isset($Itemid) &amp;&amp; $Itemid == '234'){ echo 'W celu dokonania zakupów zapraszamy do zakładki sklep&lt;br/&gt;&lt;br/&gt;'; } else { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt;

"W celu dokonania zakupów zapraszamy do zakładki sklep" means "if u want buy product go to the shop menu."

2. &lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;&lt;/div&gt; Code:

&lt;?php global $Itemid; if(isset($Itemid) &amp;&amp; $Itemid == '234'){ echo '&lt;br/&gt;&lt;br/&gt;'; } else { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate();} ?&gt;

And this work! But if i change color of product(diffrent characteristic) then price appear. I am not sure where and how change code, but I was looking for "product / show_block_characteristic.php" close this code: Code:

$main_prices = ''; if(!empty($this-&gt;element-&gt;main-&gt;prices)){ foreach($this-&gt;element-&gt;main-&gt;prices as $price){ $main_prices.='&#124;'.$price-&gt;price_value.'_'.$price-&gt;price_currency_id; }

Could I get a little help? ![:cheer:](/media/kunena/emoticons/2.png ":cheer:") ![:)](/media/kunena/emoticons/3.png ":)")

Last edit: 12 years 11 months ago by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile").

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

12 years 11 months ago [\#134245](#134245) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134245 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Hi,

You can potentially hide the characteristic display by adding the previous if condition around the code: Code:

if(empty ($this-&gt;element-&gt;characteristics) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display')!='list'){ ?&gt; &lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt; &lt;?php //LAYOUT quantity $this-&gt;row = &amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/div&gt; &lt;?php }

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago [\#134266](#134266) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  Replied by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134266 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

But i dont want hide characteristic. I just want to do the same on characteristic page(in product menu). Remover cart and prices.

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

12 years 11 months ago [\#134723](#134723) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134723 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Hi,

Sorry for the late reply.
You have to put the if condition around:

> &lt;span id="hikashop\_product\_price\_main" class="hikashop\_product\_price\_main"&gt;
> ...
> &lt;/span&gt;

And:

> &lt;div id="hikashop\_product\_quantity\_main" class="hikashop\_product\_quantity\_main"&gt;
> ...
> &lt;/div&gt;

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago -  12 years 11 months ago [\#134950](#134950) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  Replied by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134950 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

I think it isnt enough. I modyfied this lines(I wrote this in post above).

But I tested if I did it well. For example from: Code:

&lt;?php global $Itemid; if(isset($Itemid) &amp;&amp; $Itemid == '234'){ echo 'W celu dokonania zakupów zapraszamy do zakładki sklep&lt;br/&gt;&lt;br/&gt;'; } else { $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt;

I deleted: Code:

$this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate();

and still if i change on characteristic i see prices. But on main product page I dont see prices(for all itemid!)

So my conclusion: Prices for characteristic are dynamically set in another place.

Last edit: 12 years 11 months ago by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile").

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

12 years 11 months ago [\#134981](#134981) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#134981 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Hi,

Yes you're right they are set dynamically in another place, and it replca the content in the &lt;div&lt; and in the &lt;span&gt;.

So that's why you have to put in the if condition the "div" and "span" tags.
Contrary to the previous code which include only the content of these div/span, and not the div/span tag.

The following user(s) said Thank You: [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

12 years 11 months ago [\#135012](#135012) by [Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")  Replied by *[Soko?owski](/forum/user/12109-soko-owski "View Soko?owski's Profile")* on topic *[Product page-no prize](/forum/26-product-category-display/863849-solved-product-page-no-price#135012 "Hello again :).  Can i display product page with no prize? I tried with Associated products listing for category listing menu XXX, but if i display all product i can choose Display prize-NO. And this work. But if i enter product X i see prize.  I want this option to browse products without going to the store")*

Thx!
Now it works! My code: Code:

&lt;?php global $Itemid; if(isset($Itemid) &amp;&amp; $Itemid == '234'){ ?&gt; &lt;?php } else { ?&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main"&gt; &lt;?php $this-&gt;row = &amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); ?&gt; &lt;?php } ?&gt; &lt;/span&gt;

and Code:

&lt;?php global $Itemid; if(isset($Itemid) &amp;&amp; $Itemid == '234'){ ?&gt; &lt;?php } else { ?&gt; &lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt; &lt;?php $this-&gt;row = &amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate();} ?&gt; &lt;/div&gt; &lt;?php } ?&gt;

Problem solved!

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

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