[Skip to main content](#vessel-content)

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

##

- **[loovanloon](/forum/user/76172-loovanloon "View loovanloon's Profile")**
- [![loovanloon's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/76172-loovanloon "View loovanloon's Profile") Topic Author
- [ Offline](/forum/user/76172-loovanloon)

Less More

- Posts: 8
- Thank you received: 0
-
-

3 years 6 months ago [\#351873](#351873) by [loovanloon](/forum/user/76172-loovanloon "View loovanloon's Profile")  *[No SPACE between product title and productcode in Cart when "Add Productcode"](/forum/26-product-category-display/906430-no-space-between-product-title-and-productcode-in-cart-when-add-productcode#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?")* was created by *[loovanloon](/forum/user/76172-loovanloon "View loovanloon's Profile")*

-- 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?  [ ![card-code-wrong-missing-space.jpg](/forum/attachment/57081) ](/forum/attachment/57081 "...sing-space.jpg")

- [ ![card-code-wrong-missing-space.jpg](/forum/attachment/57081) ](/forum/attachment/57081 "...sing-space.jpg") [ ](/forum/attachment/57081?download=1 "...sing-space.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDY0MzAtbm8tc3BhY2UtYmV0d2Vlbi1wcm9kdWN0LXRpdGxlLWFuZC1wcm9kdWN0Y29kZS1pbi1jYXJ0LXdoZW4tYWRkLXByb2R1Y3Rjb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

3 years 6 months ago [\#351877](#351877) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[No SPACE between product title and productcode in Cart when "Add Productcode"](/forum/26-product-category-display/906430-no-space-between-product-title-and-productcode-in-cart-when-add-productcode#351877 "-- 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?")*

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: Code:

span.hikashop_product_code_cart { padding: 3px; }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDY0MzAtbm8tc3BhY2UtYmV0d2Vlbi1wcm9kdWN0LXRpdGxlLWFuZC1wcm9kdWN0Y29kZS1pbi1jYXJ0LXdoZW4tYWRkLXByb2R1Y3Rjb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
