variant code display

  • Posts: 80
  • Thank you received: 0
5 years 10 months ago #293884

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7 Stable
-- PHP version -- : 7.0.30
-- Browser(s) name and version -- : firefox

Hi,

During the check-out process, in the cart step (see printscreen), the variant code is displayed after the product name. How to avoid that? I would like to have just variant name displayed during the checkout process.

One additional question: the width of the quantity field is too long. How to reduce it?

www.mangialarossa.com/index.php/cart

Thanks in advance
Imma

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
5 years 10 months ago #293885

Hello,

The solution will be to directly set the "Display product code" option to NO through your checkout workflow via "Hikashop->System->Configuration->Checkout".

Best regards,
Mohamed Thelji.

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

  • Posts: 80
  • Thank you received: 0
5 years 10 months ago #293920

Hi Mohamed. It works.
What about my second question about the quantity field width? In the cart, this field is too long and it overlap the total price.
I tried to change from 100% to 50% in my css template but it does not work. Maybe I use the wrong css string.. can you please advise?

Thanks
Imma

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

  • Posts: 81478
  • Thank you received: 13060
  • MODERATOR
5 years 10 months ago #293942

Hi,

The issue with the width of that field comes from the CSS of your template.
You can add such CSS to circumvent the CSS of your template:
.hikashop_product_quantity_field{ width 30px !important; }

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

  • Posts: 80
  • Thank you received: 0
5 years 8 months ago #295511

Hi Nicolas,
Although I added the following string, the width of the quantity field is still long.

.hikashop_product_quantity_field input[type="number"]:not(.form-control), select:not(.form-control) {
width 30px !important;
}

What is it wrong?
Thanks
Imma

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

  • Posts: 4501
  • Thank you received: 610
  • MODERATOR
5 years 8 months ago #295518

Hello,

For start we will advice to use a more simple selector, something as :

#page_id .html_element_class {
width: your value;
}


Sometime some specific selector is of course needed but yours seems to be a little too complicated.
Regards

Last edit: 5 years 8 months ago by Philip.

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

  • Posts: 80
  • Thank you received: 0
5 years 8 months ago #295557

Many Thanks!

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

Time to create page: 0.060 seconds
Powered by Kunena Forum