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)

ARW VISIONS 01-31-2011 08:34 AM

Minicart in the header.
 
http://www.bicodesigns.com/shop/home.php?shopkey=123



I ahve added a minicart to the header, and changed the styling.

when a product is added using the ajax function the formatting is reverted to the original design. Any ideas on how to stop this from happening?

pauldodman 02-01-2011 12:57 AM

Re: Minicart in the header.
 
What version is it, Ashley?

ARW VISIONS 02-01-2011 05:54 AM

Re: Minicart in the header.
 
4.4.2 - thx paul

qualiteam 02-04-2011 06:33 AM

Re: Minicart in the header.
 
As far as I can see there is a difference in styling e.g. "td.top-cart-inner" style is missing after add to cart.

Please make sure all the logic blocs use the proper styles in the "skin/common_files/customer/minicart.tpl" template.

Learner 06-08-2011 11:42 PM

Re: Minicart in the header.
 
Hi I am also facing the same problem when I add mini-cart to header.The mini-cart icon with link is not working properly in my 4.4.2 version.

How to resolve this issue??

Learner 08-28-2011 10:02 PM

Re: Minicart in the header.
 
Quote:

Originally Posted by qualiteam
As far as I can see there is a difference in styling e.g. "td.top-cart-inner" style is missing after add to cart.

Please make sure all the logic blocs use the proper styles in the "skin/common_files/customer/minicart.tpl" template.


Hi qualiteam,

I have changed the cart icon when empty different color and when full a different color.But if I call cart on header this iconic image is not showing it shows after refreshing also tooltip is not showing after adding products to cart.

If I call cart on header why this problem is happening??

How to resolve this issue??

Learner 08-29-2011 10:17 PM

Re: Minicart in the header.
 
Hi qualiteam,
Any solution to resolve this issue??Can you help me?

Thanks.

Cpt.Crashtastic 09-01-2011 02:57 AM

Re: Minicart in the header.
 
Quote:

Originally Posted by Learner
Hi qualiteam,
Any solution to resolve this issue??Can you help me?

Thanks.


I think the image issue is because it moves the image up and down to show different states so only changing the image won't help.

I've had a go at this myself and it's not so straight forward.

Learner 09-01-2011 04:43 AM

Re: Minicart in the header.
 
Hi,
How to resolve this issue then?

I have Posted this issue in bug tracker,but they said it is simply customization.If I called cart on header then why it is not showing first time ?? Why tool tip is not showing?? How to resolve this issue??

Cpt.Crashtastic 09-01-2011 07:37 AM

Re: Minicart in the header.
 
It isn't a bug. It is a customisation as they say.

I'm assuming you are trying to get the cart to show in the head area of the template. I have abandoned my efforts until next week as I have too much to do without getting stuck on this problem.

I just called the minicart in the head template and worked backwards. I was nearly there but wasted a whole day on one problem. I'll post my solution next week.

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:24 AM.

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