Jump to content

Resolved - Lost Add to Basket Alert

Recommended Posts

Anyone know what or how these lovely green added to basket banners are generated?

I've lost them in my custom template with just a semi-transparent white box appearing and I can't work out what code I may have changed to stop them appearing correctly. Any hints much appreciated :)

The screen shot is from the same install using the default skin so I know it is not a core file issue and must be something I've left out of the custom skin I've been working on.

Thanks in advance


Link to comment
Share on other sites

This specific visual item is found in the template file box.basket.php. This template has a block of code called the "mini-basket".

The mini-basket has two parts, one to show on medium and larger devices, and one to show on small devices.

Of the part to show on small devices, there are two div blocks: the icon that represents the tap-button to show the basket contents, and the banner to show something was added to the basket - normally hidden.

<div class="hide panel radius small-basket-detail-container js_fadeOut" id="small-basket-detail"><i class="fa fa-check"></i> {$LANG.catalogue.added_to_basket}</div>

"with just a semi-transparent white box appearing"

In your custom template, you may not have copied over the CSS for the Mini Basket found in cubecart.css.

Link to comment
Share on other sites

Thanks bsmither. I checked both of those files and all was present and correct but the css hint got me thinking.

I set a default background color of white for class .panel to remove the background color on panels site wide and that is what has done me in!

Thanks again for all your help, much appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...