X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Minicart in the header. (https://forum.x-cart.com/showthread.php?t=57829)

xtech 09-02-2011 12:04 AM

Re: Minicart in the header.
 
Yes it is also a problem in 4.4.2 to call cart on header.

Learner 09-08-2011 03:44 AM

Re: Minicart in the header.
 
Hi Qualiteam,

I have made an x cart site and call cart on header.I have changed cart full and cart empty image but these different images are not call properly at the first time.When i refresh the page then image come.Have there any problem to call cart on header in 2 columns Light and lucid Template? My site url is www.arcaindia.com/shop. (Test Site)

Can you help me to achieve this??

Cpt.Crashtastic 09-12-2011 01:09 AM

Re: Minicart in the header.
 
Quote:

Originally Posted by Learner
Hi Qualiteam,

I have made an x cart site and call cart on header.I have changed cart full and cart empty image but these different images are not call properly at the first time.When i refresh the page then image come.Have there any problem to call cart on header in 2 columns Light and lucid Template? My site url is www.arcaindia.com/shop. (Test Site)

Can you help me to achieve this??


I have got this working with the original images so now it's just a matter of putting in the new images.

I have simply called menu_cart.tpl from head.tpl. I did not wrap this in another div but used menu-dialog wrapper and modified the CSS for that to get the placement I required. Obviously you could adapt this and make new_menu_dialog.tpl but I didn't need too.

This left me with the same issue as you. After several hours getting no where i tried various mock ups and found by addressing the follwing two classes with the header ID, my problem was solved.

#header .ajax-minicart img.icon

#header .ajax-minicart img.minicart-button

There may be a few more that will need to be changed but this works for me.

Learner 09-12-2011 04:45 AM

Re: Minicart in the header.
 
Hi,
Thanks for your help.Can you explain more elaborately and send me the changed css/tpl file to work it properly??

Thanks again.


All times are GMT -8. The time now is 03:20 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.