Skip to main content

variant code display

More
8 years 3 months ago #293884 by idimarco
-- 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

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

More
8 years 3 months ago #293885 by Mohamed Thelji
Replied by Mohamed Thelji on topic variant code display
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.

More
8 years 3 months ago #293920 by idimarco
Replied by idimarco on topic variant code display
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.

More
8 years 3 months ago #293942 by nicolas
Replied by nicolas on topic variant code display
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.

More
8 years 2 months ago #295511 by idimarco
Replied by idimarco on topic variant code display
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.

More
8 years 2 months ago - 8 years 2 months ago #295518 by Philip
Replied by Philip on topic variant code display
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: 8 years 2 months ago by Philip.

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

More
8 years 2 months ago #295557 by idimarco
Replied by idimarco on topic variant code display
Many Thanks!

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

Time to create page: 0.197 seconds
Powered by Kunena Forum