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

#   Mini Cart / Add to cart display

##

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

Less More

- Posts: 237
- Thank you received: 5
-
-

4 years 1 month ago [\#345698](#345698) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  *[Mini Cart / Add to cart display](/forum/27-checkout/905177-mini-cart-add-to-cart-display#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")* was created by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")*

-- url of the page with the problem -- : [ cotsperfumery.under-development.info/](http://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

- [ ![Screenshot2022-10-14at16.37.01.png](/forum/attachment/55717) ](/forum/attachment/55717 "...at16.37.01.png") [ ](/forum/attachment/55717?download=1 "...at16.37.01.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNTE3Ny1taW5pLWNhcnQtYWRkLXRvLWNhcnQtZGlzcGxheT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14327
-
-

4 years 1 month ago [\#345700](#345700) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Mini Cart / Add to cart display](/forum/27-checkout/905177-mini-cart-add-to-cart-display#345700 "-- 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")*

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

$colspan = $nb_columns - (empty($columns['delete']) ? 1 : 2);

in the view file product / cart.php
So you could add the code: 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNTE3Ny1taW5pLWNhcnQtYWRkLXRvLWNhcnQtZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 237
- Thank you received: 5
-
-

4 years 1 month ago [\#345743](#345743) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[Mini Cart / Add to cart display](/forum/27-checkout/905177-mini-cart-add-to-cart-display#345743 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwNTE3Ny1taW5pLWNhcnQtYWRkLXRvLWNhcnQtZGlzcGxheT90bXBsPW1hcmtkb3du) 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.078 seconds

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