multiple prices are messed up

  • Posts: 26
  • Thank you received: 1
  • Hikashop Business
1 year 4 months ago #354437

-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.0.29

I have some products that have multiple prices and I would like to display these ekstra prices.

They are displayed, but as seen in the attachment, there are no break between the prices, so they just show up in a big mess.

When I look at the code, tehre are <br>, but they seem to be ignored, there is also a <hl> tag that I have never seen before.

The code looks like this:

<span class="hikashop_product_price_full hikashop_product_several_prices"><span
class="hikashop_product_price hikashop_product_price_0">1,50 kr.</span> <span
class="hikashop_product_price_per_unit">stk</span>
<hl>
<br>
<span class="hikashop_product_price_with_min_qty hikashop_product_price_for_at_least_100">
<span class="hikashop_product_price hikashop_product_price_1">1,30 kr.</span>
<span class="hikashop_product_price_per_unit_x">v/ 100 </span>
</span>
<br>
<span class="hikashop_product_price_with_min_qty hikashop_product_price_for_at_least_500">
<span class="hikashop_product_price hikashop_product_price_2">1,25 kr.</span>
<span class="hikashop_product_price_per_unit_x">v/ 500 </span>
</span>
</hl>
</span>

I have been looking in listing_price.php, but no matter what I do, I cannot find the <hl> tag or get it to add a <br>

any ideas ?

Attachments:

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

  • Posts: 83007
  • Thank you received: 13400
  • MODERATOR
1 year 4 months ago #354446

Hi,

The br tags are probably ignored because of the CSS on your website.
Could you provide the URL of the page ? That way we could analyze the HTML / CSS and tell you what you should do exactly.

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

  • Posts: 26
  • Thank you received: 1
  • Hikashop Business
1 year 4 months ago #354448

Sure

It is a test site - we are using to migrate :-)

cardsonline.dk/test/rddata2023/

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

  • Posts: 26
  • Thank you received: 1
  • Hikashop Business
1 year 4 months ago #354449

Also - I do not understand the <hl> tag - I have never seen that before

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

  • Posts: 83007
  • Thank you received: 13400
  • MODERATOR
1 year 4 months ago #354451

Hi,

I've checked several products on your website but they didn't have several prices.
Can you please provide the URL of a page where I can directly look at the situation with the several prices ?

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

  • Posts: 26
  • Thank you received: 1
  • Hikashop Business
1 year 4 months ago #354461

cardsonline.dk/test/rddata2023/index.php...holdere-i-blod-plast

All here, have multiple prices in the listing

Last edit: 1 year 4 months ago by WebmasterRD.

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

  • Posts: 83007
  • Thank you received: 13400
  • MODERATOR
1 year 4 months ago #354464

Hi,

The br tags are disabled by the CSS code:

.hikashop_subcontainer br {
    display: none;
}
that you've added yourself to the "style on the frontend" setting of the Display tab of the HikaShop configuration page.

I also don't see any hl tag there: i.imgur.com/TAXX7OR.png
(and we don't have such tag by default either in HikaShop)

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

Time to create page: 0.065 seconds
Powered by Kunena Forum