hide the price

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 6 months ago #98748

But it does not.

I have these settings in the Joomla Vertical Menu in Hikashop Options:
Type of content: Product
Type of layout: DIV
Is this correct?

Please Log in or Create an account to join the conversation.

  • Posts: 82760
  • Thank you received: 13347
  • MODERATOR
11 years 6 months ago #98918

Then make sure that you're editing the view file for the correct template and not another one because the modification is the correct one for the item box layout "pane" that you're using.

Please Log in or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 6 months ago #99087

as told before I have only my template activated therefore I can only edit this one.
It seems that this can not be fixed on my side.

sorry to hear that.

anyway I'm very happy with your shop system! Keep on doing this good work!

Raphael

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #99171

Hi,

I still don't understand why it doesn't work.
Are you editing the view from the HikaShop menu Display > Views or via FTP ?

Be sure that the modifications are not made directly in the hikashop component files but in the template overrides.
Try to remove the corresponding file in your template files via ftp and make the modification again from the menu "Display > Views".

If it still doesn't work, try to remove again the file and make the modification directly on the HikaShop file in "components/com_hikashop/views/product/tmpl/listing_img_pane.php"

Please Log in or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 6 months ago #99301

Hi

I make all changes via Display>Views

I took the listing_img_pane from the folder via ftp and changed the file via Display>Views. No changes

Then I changed the file via ftp but still the price was showing!
Then I cleared the cache in Joomla to be sure that there is no interference, but still the price was showing.

I really don't know whats wrong on my side as the other that I changed work fine.

Do you have other things I should check?

Raphael

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #99375

Hi,

Try to delete the file in "templates/your_template/html/com_hikashop/product/listing_img_pane.php" (and in all the other template folders)
And edit the file in "components/com_hikashop/views/product/tmpl/listing_img_pane.php"

See if the changes are present.

Please Log in or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 6 months ago #99482

HI

There was only one file in my own template. I deleted this one and changed the other through the ftp.
But still the price was showing.

Now I restored everything to original. It is so strange that it is still showing.
Is there maybe something with the setting in the vertical Menu (Hikashop options?) How should this one be?

Please Log in or Create an account to join the conversation.

  • Posts: 82760
  • Thank you received: 13347
  • MODERATOR
11 years 6 months ago #99623

Then it means that you're not using that view file for your item box layout but another one.


I checked your page again and I can see a fade effect which I hadn't seen before. So it seems that you're using the "listing_fade" layout and not the "listing_pane" one.
Try to do the change on that other one.

Please Log in or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 6 months ago #100170

Hi

I was away for few days that's why my late replay.
It works perfect now! Thanks for your patient :-))

One more question about hiding the price:
I have the option wrapping, this shows the total price (with or without option) on the product page. Is there a way to hide this this price too, or stop the option if the product gets sold out?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #100265

You can add the same if condition as before, but around the options display part.
replace:

if (hikashop_level(1) && !empty ($this->element->options)) {
By:
if (hikashop_level(1) && !empty ($this->element->options) && $this->row->product_quantity!=0) {

Please Log in or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 6 months ago #100429

Hi

I checked the product option and the product option_price in the display views but could not find your line to change.

Do I have to change it somewhere else?

Best regards
Raphael

Please Log in or Create an account to join the conversation.

  • Posts: 82760
  • Thank you received: 13347
  • MODERATOR
11 years 6 months ago #100636

This code can be found in the "show_default" view file.

Please Log in or Create an account to join the conversation.

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
11 years 6 months ago #100708

Perfect!

Thanks a lot for all the patient you had with me!

Your support is really fabulous!!

Kind regards
Raphael

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum