Mini Cart / Add to cart display

  • Posts: 231
  • Thank you received: 4
  • Hikaserial Standard
2 years 1 month ago #345698

-- url of the page with the problem -- : cotsperfumery.under-development.info/
-- HikaShop version -- : 4.6.2

Hello,
I'm using the mini Cart module but cannot work out why my price table cell is not aligned to the right. There appears to be somethign 'wrng' but I cannot figure out what is causing it! Can you offer any advice?

Also when a product is added to the cart the ajax pop up that appears is shown in the top right hand corner for a brief time. Can I change this so it is displayed in the centre of the screen and the user has an option to continue shopping or close the popup?

Thanks

Lee

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 1 month ago #345700

Hi,

It's a problem with the customization done to the cart module.
The product row has 3 columns but the footer has one column with a colspan of 3 and a second column for a total of 4 columns.
The problem is that the value of the colspan is incorrect with the way you setup the cart module. It should be 2 not 3.

So you need to report the issue to the developer who did the customization there.

The colspan is calculated with the line:

$colspan = $nb_columns - (empty($columns['delete']) ? 1 : 2);
in the view file product / cart.php
So you could add the code:
$colspan--;
after it to patch the calculation of the colspan.
Note that if you change the settings of the module in the future, that patch might become incorrect.

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

  • Posts: 231
  • Thank you received: 4
  • Hikaserial Standard
2 years 1 month ago #345743

Nicolas,
Thanks for the reply, it was an issue from my customisation, I had d-flex set in the css which collapsed the product cells.

It is now removed and displayign correctly.

Thanks

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

Time to create page: 0.049 seconds
Powered by Kunena Forum