Forums / Setting Up Categories, Products, Attributes / drop down attributes at product listing page near add to cart button.

drop down attributes at product listing page near add to cart button.

Views: 40,841

Results 21 to 40 of 96
27 Feb 2009, 8:27 PM
#21
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

drop down attributes at product listing page near add to cart button.

Because Zen Cart is GPL, you always have the right to give away copies of the code that you pay for and receive. It is a good idea to get the developer's agreement, though, especially if you expect to work with him again.

27 Feb 2009, 8:37 PM
#22
maureent avatar

maureent

New Zenner

Join Date:
Nov 2008
Posts:
60
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Yes, I figured that was the case, but I think it's only being polite to at least tell the person before doing it. After all, if I was him, I'd appreciate someone doing so. And, as you said, I might want to go to him in the future for other work, so maintaining a friendly working relationship is smart.

10 Mar 2009, 5:30 AM
#23
1959mvp avatar

1959mvp

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Maureen T-

Any update on sharing this code?

I have a need for this functionality.

Thanks,

10 Mar 2009, 4:28 PM
#24
maureent avatar

maureent

New Zenner

Join Date:
Nov 2008
Posts:
60
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Sorry about the delay. I've been desperately trying to get the store I'm working on finished. I'll try to get the revised files posted sometime today.

10 Mar 2009, 8:38 PM
#25
1959mvp avatar

1959mvp

New Zenner

Join Date:
Jun 2008
Posts:
9
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Nibblenot-

I tried your updated attributes_listing.php, so as to have the checkbox attributes available, and it will not add the items to cart.

Any ideas?

11 Mar 2009, 12:55 AM
#26
maureent avatar

maureent

New Zenner

Join Date:
Nov 2008
Posts:
60
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Okay, here is the entire mod with the revisions that will make it work if the store is set to show an Add to Cart button and quantity box for each product on the Product Listing page. Please note that this version of the mod will only work if you have your store set that way.

IMPORTANT: Carefully read the entire README_FIRST.txt file before you proceed with the installation.

For those of you who have already installed the old version of the mod, only two files need to be changed. README_FIRST.txt will tell you which ones.

11 Mar 2009, 6:46 PM
#27
hsgirl avatar

hsgirl

New Zenner

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

Re: drop down attributes at product listing page near add to cart button.

Thank you! Thank you! Thank you! After a week of work on this mod, I downloaded your revisions and it finally works!

10 Apr 2009, 11:02 AM
#28
ed89 avatar

ed89

New Zenner

Join Date:
Mar 2007
Posts:
33
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Hi,

I installed the module to show product attributes on the product listing page, so the customer could click to select an attribute and buy, and save having to visit specific product pages.

However, it doesn't seem to be working well at all. There is an extra "add to cart" button at the top, I'm not sure why. This is confusing as it looks like the "add to cart" button is above the product listing text and attributes" but is actually below it.

Please see this link for an example.

I've put a 1px bottom border on each product listing to show you how the confusion comes about.

Any advice on how to solve this is appreciated.

cheers

10 Apr 2009, 3:57 PM
#29
maureent avatar

maureent

New Zenner

Join Date:
Nov 2008
Posts:
60
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

I don't see an extra add to Cart button. From what I can see, you have your buttons positioned above the product names. IMO, they should be below the attributes. I'd tell you how to do that, but you've clearly done some other modifications to your product listing page besides this one. I'd need to see your product_listing.php code to sort it out.

13 Apr 2009, 7:24 PM
#30
flowerchild5 avatar

flowerchild5

New Zenner

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

Re: drop down attributes at product listing page near add to cart button.

Does anyone think (or know) that this mod could be combined with the "product attribute grid" so that I could create a "quick order on steroids". The Product listing would have the attributes in a grid format rather than dropdown. That way a customer could order for example 5 of one size of shoe and 10 of another size of product a then order 20 of one size and 30 of another of product b on the same page.

I tried combining the 2 modules on my test site with no success. Probably because of my lack of php knowledge.

14 Apr 2009, 2:29 AM
#31
flowerchild5 avatar

flowerchild5

New Zenner

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

Re: drop down attributes at product listing page near add to cart button.

There are two versions to this mod. One where the add to cart button works ONLY when you choose the "add to cart" at top and/or bottom and the later version which works when you have the "add to cart" on every item. The latter version is the one you need. (post#26 of this thread)

1 May 2009, 12:39 PM
#32
teaj avatar

teaj

New Zenner

Join Date:
Dec 2007
Location:
South, UK
Posts:
66
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

infocom:

Hi. I have been trying to hack the files to do this. I have managed to list the product attributes on the product listing page for each product. Quite chuffed with that.

Hello, I would like to achieve what the user above has managed - a list (not drop down) of the available product attributes on the product listing page.

For example, I sell shoes so I would like the browser to be presented with a list of available sizes without having to click through to the product info page.

I have tried looking through the coding but not found out how to do this yet.

Just thought I'd check and see if anyone could save me a bit of time and let me know how the user above managed to do this!

Thanks :smile:

1 May 2009, 3:42 PM
#33
maureent avatar

maureent

New Zenner

Join Date:
Nov 2008
Posts:
60
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

fobes77:

Hello, I would like to achieve what the user above has managed - a list (not drop down) of the available product attributes on the product listing page.

For example, I sell shoes so I would like the browser to be presented with a list of available sizes without having to click through to the product info page.

I have tried looking through the coding but not found out how to do this yet.

Just thought I'd check and see if anyone could save me a bit of time and let me know how the user above managed to do this!

Thanks :smile:
I'm a bit confused by your post. Do you want something different from the mod that's posted in this thread? If what you want is to show product attributes on the product listing page, then simply download the modified files that are in this thread and upload them to the proper places in your store. Be sure to back up the old versions first, though.

There are two versions of this mod. The original one works if you use a single "Add selected products to cart" button at the top and/or bottom of the product listing page. You'll find that one on message #8 in this thread. The other version, the one I contributed, works if you want individual Add to Cart buttons on each product. That version is in message #26 of this thread. My version has step-by-step instructions, so even if you're new to making store modification, you shouldn't have a problem figuring it out.

1 May 2009, 3:53 PM
#34
aly22 avatar

aly22

Zen Follower

Join Date:
Feb 2008
Posts:
174
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Thrilled to find this!!!!
Thank you for the amazing work - it installed in a snap and works great :)

Question: how can I move the attribute selector to above the buy now instead of below the product description?

13 May 2009, 5:56 AM
#35
sandeep8838 avatar

sandeep8838

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Pablo1719:

Ok got it to work but now I am wondering if anyone knows how to make the price update dynamically with attributes.

For anyone who is new...in order to use this just replace the file in your directory ROOT/includes/modules/YOUR_TEMPLATE/product_listing.php

Paul

I am also looking for how to update the price dynamically........any sol?

17 May 2009, 7:01 AM
#36
sandeep8838 avatar

sandeep8838

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

I found one problem in the mod........ after clicking add to cart buttom, it is taking me to shopping cart page, but when i click return to shopping, it saying.......... 'sorry! the product was not found'

26 May 2009, 4:50 PM
#37
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: drop down attributes at product listing page near add to cart button.

Has anyone used this with the flexible_product_listing mod?

Ta

Nik

Nick
iszent.com

27 May 2009, 10:36 PM
#38
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: drop down attributes at product listing page near add to cart button.

Since both mods alter the same base file (product_listing.php), using them together would require carefully merging and probably adapting the custom code for both mods. It could probably be done by someone with enough motivation and basic PHP skill.

2 Jun 2009, 8:56 PM
#39
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: drop down attributes at product listing page near add to cart button.

Did anyone try to combine the attributes module at product listing with the grid layout module. I would like to have the grid layout in the product listing.

7 Jun 2009, 1:41 PM
#40
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: drop down attributes at product listing page near add to cart button.

What I wanted was the drop down attributes to be bundled with the price and the buy now button.

I think I have achieved that.

You can see: http://www.starlessriver.com/shop/index.php?main_page=index&cPath=1. Still working on layout so play nice with me.

It works for the set of admin settings I am using but I haven't tried all the options. I started a new thread for this because it might clutter this one up. (And this is the first time I have got into the PHP of Zen Cart this much and wanted to give it its own thread :P)

The new thread is at:
http://www.zen-cart.com/forum/showthread.php?p=737982#post737982

Nik

Nick
iszent.com