show per unit after price in rtl hikashop

  • Posts: 22
  • Thank you received: 1
1 year 3 months ago #354396

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

hi
in RTL i have some problem

in product page in RTL i see something like this 23.100Rial Price :
but i must see ==> Price : 23.100

in my picture u see if i change 2 line my problem fix ( but i dont know where i must change this 2 line in hikashop files

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 3 months ago #354398

Hi,

I think it should be possible to change this with CSS.
If you can provide the URL of the page, I should be able to provide the exact CSS code.

Now, if you want to do a view override to change the order of the HTML itself directly, it's also possible. It's the view file product / listing_price you want to edit via the menu Display>Views. You can read more about this here:
www.hikashop.com/support/documentation/1...-display.html#layout

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

  • Posts: 22
  • Thank you received: 1
1 year 3 months ago #354408

medequip.ir/index.php/medic-product/prod...dTA2MzFcdTA2MmYiXQ==


this is product link

i cant find price in html code

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 3 months ago #354411

Hi,

That's the CSS code you can add to do that:

.hikashop_product_page .hikashop_product_price_full {
    display: flex;
    flex-flow: row;
}
.hikashop_product_page .hikashop_product_price {
    order: 1;
}

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

  • Posts: 22
  • Thank you received: 1
1 year 3 months ago #354418

thanks with this code in product page fix

but in all other page this problem is no solve

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 3 months ago #354419

Hi,

For the product listings, add the same code but change hikashop_product_page to hikashop_products_listing and it will fix it there too.

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

  • Posts: 22
  • Thank you received: 1
1 year 3 months ago #354432

thanks my problem fix

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

Time to create page: 0.068 seconds
Powered by Kunena Forum