Text underneath product price ?

  • Posts: 28
  • Thank you received: 1
  • Hikashop Essential
1 month 2 weeks ago #359766

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 5.0.3
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Firefox

Is the an easy way to place the text (ex VAT) right underneath the productprice ??

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
1 month 2 weeks ago #359772

Hi,

I'm not sure what text you're talking about. I don't see any "VAT" text on your URL ?
Are you saying you want to add extra text below the product price on the products listing ?
You sure can do that. Edit the product / listing_price.php view file via the menu Display>Views and add your text at the end.

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

  • Posts: 28
  • Thank you received: 1
  • Hikashop Essential
1 month 2 weeks ago #359780

I added this in line 218 of the mentioned file: echo "<br>Ex moms";
But nothing shows up on the product page ??? Also tried to add to the end of the file - still no change in the display. Is that the correct file to edit ??

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
1 month 2 weeks ago #359781

If you don't see any change when adding your code at the end of the view file, then it means you're probably not editing the correct view file, or not for the template you're using on the frontend of your website.
Please check that you're editing the view file for your frontend template and that you're editing product / listing_price.php and not checkout / listing_price.php or something else.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum