No SPACE between product title and productcode in Cart when "Add Productcode"

  • Posts: 8
  • Thank you received: 0
  • Hikashop Style
11 months 5 days ago #351873

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.3.1
-- PHP version -- : 8.1
-- Browser(s) name and version -- : Edge 113.0.1774.42

In System / Configuration / Display / Product options you can set the display of the product code to ON.

In that case of a product with selectable variant (characeristics) on the product page the product code is added to the tilte of the selected product variant with a space-character between the title and the product code.

But when you add the product to your card there is NO SPACE character title and the product code. See image attachment.

Who know how I can solve this (without adding a space in front of the product code in the product configuration) ? What am I doing wrong?

Attachments:

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 months 4 days ago #351877

Hi,

It's a CSS issue. There is actually no space in the cart nor on the product page.
It's just the CSS which is different between both areas.
Add such CSS and it will add spacing there in the cart:

span.hikashop_product_code_cart {
    padding: 3px;
}

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

Time to create page: 0.061 seconds
Powered by Kunena Forum