Zen Cart Logo
Forums / General Questions / Display Attribute choice in Shopping Cart

Display Attribute choice in Shopping Cart

Views: 1,146

Results 1 to 13 of 13
13 Jul 2013, 11:12 AM
#1
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Display Attribute choice in Shopping Cart

I thought Zen cart did this??
eg If Product has choice of colour or size then I would expect to see the cosen colour/size in the shopping cart so customer could double check before going to Checkout (where it would also be nice to see the choice.

Simple enough ( I hope) but I cannot see where to set this!

13 Jul 2013, 11:24 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Display Attribute choice in Shopping Cart

My stock Zencart test site does display attributes in the shopping cart. What happens if you switch temporarily to the Classic template ?

13 Jul 2013, 3:34 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Display Attribute choice in Shopping Cart

Yes, Zen Cart does show the attribute in the cart. But only if the customer selected the attribute.

14 Jul 2013, 6:09 AM
#4
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Display Attribute choice in Shopping Cart

Ah yes...it DOES show in the Standard green template(!).
Where do I look to find out why it is missing?

14 Jul 2013, 7:02 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Display Attribute choice in Shopping Cart

Compare all your custom template's files against the original template_default master files. WinMerge is a handy tool to automate that process.

14 Jul 2013, 11:48 AM
#6
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Display Attribute choice in Shopping Cart

Yes, that had occurred to me but could take some time - I was hoping someone could pinpoir a likely file/folder that may cause the problem.

14 Jul 2013, 12:56 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Display Attribute choice in Shopping Cart

A link to your site might let us spot something.

14 Jul 2013, 1:48 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Display Attribute choice in Shopping Cart

So would a list of all your addons/customizations/plugins.

And, I mentioned WinMerge specifically because it automates the comparison process and takes about 5 seconds to show you all the differences between all the files in the folders you give it.

15 Jul 2013, 2:06 AM
#9
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Display Attribute choice in Shopping Cart

I'll look into winmerge - thanks.
my site (under development with just some sample test products) is http://www.thegiftshop.tv/index.php
This was from a purchased template, and have added:
CKEditor
Convert to UK Dates
Products with attributes
Dropship Core (though not actually used)
CEON SEO url
Captcha
...have also made many little 'tweaks' to code to display as I want.

I would add that I have been back to check the Demo of the purchased template and that also DOES NOT show the attribute choice in cart.

15 Jul 2013, 2:20 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Display Attribute choice in Shopping Cart

Oy!

Do you realize that you've got jQuery loading THREE times, each with different versions, on your site?
You'll want to clean that up if you intend to improve site performance.
While that's unlikely to be a direct cause of attributes not showing in the cart, it's still worth fixing.

You've definitely got custom code causing your problems.
The following HTML from your shopping cart page, including the misspelling, does not come built-in with Zen Cart:

<!-- To Display Attribute in Shooping Cart -->
<div id="attpingu">
</div>

Perhaps you should go back to whomever you purchased your template from and ask them to fix their bug?

17 Jul 2013, 12:56 AM
#11
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Display Attribute choice in Shopping Cart

Seems like the display attribute was commented out....I was told because it sites inside a common <ul>.
It has now been moved outside and displays ok.

Not sure how to resolve multiple JQuery calls.

17 Jul 2013, 6:12 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Display Attribute choice in Shopping Cart

gprit:

Not sure how to resolve multiple JQuery calls.
The fast way to find out where certain things are in your files is by using the Developers Toolkit in your Admin:
http://www.zen-cart.com/content.php?80-how-do-i-find-out-what-files-to-edit
http://www.zen-cart.com/content.php?81-how-do-i-use-the-developers-toolkit

Find the references to older versions of jQuery and remove them. Keep just the newest one.

And, even faster, when I just right-click on your page and choose View Source from the browser menu, I can easily see all the places where your page is loading jQuery:
1.5 <script type="text/javascript" src="http://thegiftshop.tv/includes/templates/ZEN020040/jscript/jquery-1.js"></script>
1.4.2 <script type="text/javascript" src="http://thegiftshop.tv/includes/templates/ZEN020040/jscript/Slider/jquery-1.4.2.min.js"></script>
1.7 <script type="text/javascript" src="http://thegiftshop.tv/includes/templates/ZEN020040/jscript/lightbox/jquery.min.js"></script>

So, find where those first two are loaded in your files, and remove them. And remove those first two query files from the server too.

17 Jul 2013, 1:44 PM
#13
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Display Attribute choice in Shopping Cart

Thank you so much! I learn each day......