placeholder text for product dropdown variables?

  • Posts: 41
  • Thank you received: 4
  • Hikashop Business
2 weeks 1 hour ago #313641

-- url of the page with the problem -- : 144.208.70.12/~richard2019/index.php/hik...8541-alive-9473-sh18
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13

I was just wondering if it is possible to display placeholder text in the product variables dropdown box rather than the first product variable

on this pafe the box displays the first varaible - 30cm print

can it simply say - select product and have no price listed.

my client would prefer to not have any price displayed prior to the customer seeing the available options.

Im trying to make it look like the screenshot!

also - how do i get the filter to be on the product page - i have been able to comfigure it on the category pages - but i just cant figure out how to get it on the product page

Please let me know if you need some sore information

thanks
Ian

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

  • Posts: 67676
  • Thank you received: 10046
  • MODERATOR
1 week 5 days ago #313664

Hi,

1. You would have to edit the file "show_default" via the menu Display>Views and change the code:

$this->setLayout('listing_price');
		echo $this->loadTemplate();
to:
echo 'select product';

2. You can configure the HikaShop filter modula via the Joomla modules manager in order to display filters in a module position on product pages.

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

  • Posts: 41
  • Thank you received: 4
  • Hikashop Business
1 week 5 days ago #313669

Thanks Nicolas - appreciate your help

i have tried to modify the views file as suggested above and i get a 406 error
Error 406 - Not Acceptable

Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.

i have been able to make other changes to the file - just not this particular one - any other suggestions or workarounds?

Thanks again

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

  • Posts: 67676
  • Thank you received: 10046
  • MODERATOR
1 week 5 days ago #313674

Hi,

Well, you should check with your hosting support as this is a false positive (ie. it shouldn't block you from doing that override).
Note that you can always do the override manually:
docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

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

  • Posts: 41
  • Thank you received: 4
  • Hikashop Business
1 week 4 days ago #313713

Thanks Nicolas - i didnt know that i could do that manually!

thanks for your help

Ian

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

Time to create page: 0.062 seconds
Powered by Kunena Forum