Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / All Other Contributions/Addons / Product Attribute Grid

Product Attribute Grid

Started by absolute on 15 Jan 2008, 5:01 PM · Views: 139,578

Results 261 to 280 of 546
17 Nov 2010, 8:39 PM
#261
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Product Attribute Grid

This isn't currently a setting you can adjust within the module. It would be easy enough to add in, and would just require a little additional coding within the attributes.php file found in the modules folder.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

17 Nov 2010, 9:42 PM
#262
tcjay avatar

tcjay

Zen Follower

Join Date:
Jul 2010
Location:
Boston
Posts:
139
Plugin Contributions:
0

Re: Product Attribute Grid

Thanks for the reply. My php is weak. WOuld you be able to point me in the right direction? :cool:

18 Nov 2010, 11:08 AM
#263
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Product Attribute Grid

Nick1973:

Hi Absolute,

I'm using your mod Attribute Grid 1.1.1 on a site

see here

http://www.junewoods.com/index.php?main_page=product_info&cPath=2&products_id=4

The site is selling shoes so obviously there are lots of sizes. Also the shoes are sold by colour.

Because of this I need to allow customers to select as many sizes of one colour as they want and also allow them to pick other colours in different sizes.

This means I need several grids.

E.G.

Shoe Colour : Black | 1|2|3|4|5|6|7|8|9

Shoe Colour : Brown | 1|2|3|4|5|6|7|8|9

Shoe Colour : Red | 1|2|3|4|5|6|7|8|9

Shoe Colour : Beige | 1|2|3|4|5|6|7|8|9

Shoe Colour : White | 1|2|3|4|5|6|7|8|9

Where it says 1|2|3|4|5|6|7|8|9 the quantity boxes need to appear underneath and in a row. 1|2|3|4|5|6|7|8|9 would be the size of the shoe, so someone might come along and want to order 20 of size 4 in black, 5 of size 2 in red, 1 of size 7 in beige, 2 of size 6 in black, 1 of size 9 in red, 3 of size 8 in white. Hopefully that gives you some idea of the complication.

So how would I create this using your mod?

At the moment when I try and do this it creates 3 rows and thats it. And it prefixes each row with 1, 2, 3

I need each grid separated from one another ideally.

Please can you get back to me and let me know.

Thank You

Nick

Yes you can. This is exactly the type of application this module was designed for.

You just need to set up two attributes, one for COLOUR and one for SIZE.

** Please can we keep requests of this nature to the forum please?** If you would like to approach me for bespoke modifications to your module or store, please feel free to PM me. But if it's a request for help that everyone within the forum could benefit from, PLEASE - let's keep it in the forum.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

18 Nov 2010, 3:05 PM
#264
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Product Attribute Grid

@Tabascoman - Thanks John for your support! Hope you find the module useful.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

19 Nov 2010, 8:05 AM
#265
fransdo avatar

fransdo

New Zenner

Join Date:
Nov 2010
Posts:
6
Plugin Contributions:
0

Re: Product Attribute Grid

ZC 1.3.9f / SBA / PAG Attribute discounted price not displayed
Really a great mod, but I am having the problem that it does not dsplay the dicounted attribute price in the grid, but the "normal" price.
http://www.newtopdeals.com/ntdmk/shop/demo/index.php?main_page=product_info&cPath=1_4&products_id=1
If someone knows a solution for this. Please help!

30 Nov 2010, 7:43 PM
#266
techbrainy avatar

techbrainy

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

Re: Product Attribute Grid

I have correctly installed Product Attribute Grid and it is a very nice piece of code. I have an issue I hope someone can assist with.

Can a second Grid be created. I am working on a Bikini site in which the top can be ordered in 3 sizes by quantity. The Grid works great for this.

However, I need a second Grid in which 2 styles of bottoms can be ordered by Quantity as well. I have read the Documentation and the various threads and have not found this ability.

Is this possible? If so, how do I accomplish it?

30 Nov 2010, 10:21 PM
#267
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Product Attribute Grid

With the current module, this isn't possible. I think you want to setup 3 attributes within one product, and then have "Classic" and "Sports" as 2 different grids, with "S/M/L" and "Red/Green/Blue" as the grid options - is that correct?

It would be possible, but it would require a fair amount of additional coding.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

30 Nov 2010, 11:15 PM
#268
techbrainy avatar

techbrainy

New Zenner

Join Date:
Nov 2010
Posts:
2
Plugin Contributions:
0

Re: Product Attribute Grid

Absolute:

With the current module, this isn't possible. I think you want to setup 3 attributes within one product, and then have "Classic" and "Sports" as 2 different grids, with "S/M/L" and "Red/Green/Blue" as the grid options - is that correct?

It would be possible, but it would require a fair amount of additional coding.

Absolute

That sounds about right. I was afaid you were going to say that. Hmmm I have to try to figure this out.

16 Dec 2010, 10:24 PM
#269
rovinghouse avatar

rovinghouse

New Zenner

Join Date:
Dec 2010
Posts:
13
Plugin Contributions:
0

Re: Product Attribute Grid

Why is the page acting this way? I have the grid installed, it displays, but it doesn't add the correct number to the cart - and the old quantity field still appears.

Check it out: http://www.therovinghouse.com/store/index.php?main_page=product_info&cPath=1&products_id=2

I'm running v 1.3.9 and I have Products with Attributes installed as well.

16 Dec 2010, 10:39 PM
#270
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Product Attribute Grid

Did you follow the install instructions? I know I'm repeating myself AGAIN, but if you are still seeing the original add to cart QTY box, you haven't updated your template file. If you are having issues with the actual adding to cart feature, it's because the extra_cart_actions folder file is missing.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

16 Dec 2010, 11:00 PM
#271
rovinghouse avatar

rovinghouse

New Zenner

Join Date:
Dec 2010
Posts:
13
Plugin Contributions:
0

Re: Product Attribute Grid

As much as I'd love it to be that easy, yes, it's there, and I haven't made any changes to the code.

Just to confirm, it's at /includes/extra_cart_actions/absolute_products_with_attributes.php

Is there something in the file I should especially look for?

16 Dec 2010, 11:35 PM
#272
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Product Attribute Grid

But it really is that simple! You need to make sure all the files are where it states in the install file, and that your tpl_product_info_default.php template file has been updated accordingly.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

17 Dec 2010, 12:37 AM
#273
rovinghouse avatar

rovinghouse

New Zenner

Join Date:
Dec 2010
Posts:
13
Plugin Contributions:
0

Re: Product Attribute Grid

I found my problem.

The template I've been working with/updating is "classic", so I assumed that when the readme said

includes/templates**/YOUR_TEMPLATE/**tpl_product_info_display.php

I should put it in
includes/templates**/classic/**tpl_product_info_display.php

However, it only worked when I put it in
includes/templates**/template_default/templates/**tpl_product_info_display.php

17 Dec 2010, 12:59 AM
#274
rovinghouse avatar

rovinghouse

New Zenner

Join Date:
Dec 2010
Posts:
13
Plugin Contributions:
0

Re: Product Attribute Grid

I didn't mean to sound self-congratulatory with that last post. Thank you Absolute.

17 Dec 2010, 9:42 AM
#275
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Product Attribute Grid

It should be located in:

includes/templates/classic/templates/tpl_product_info_display.php

Glad you got this resolved.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

17 Dec 2010, 1:02 PM
#276
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Product Attribute Grid

rovinghouse:

I found my problem.

The template I've been working with/updating is "classic", so I assumed that when the readme said

includes/templates**/YOUR_TEMPLATE/**tpl_product_info_display.php

I should put it in
includes/templates**/classic/**tpl_product_info_display.php

However, it only worked when I put it in
includes/templates**/template_default/templates/**tpl_product_info_display.phpAnd your need to undo this because you should NEVER overwrite anything in the template_default folders.. You need to put this file in a proper override location.

The reason it didn't work for you is because you put the file in the WRONG location..

You said you put the file here:
includes/templates**/classic/**tpl_product_info_display.php

You should have put it here:
includes/templates**/classic/templates/**tpl_product_info_display.php

Edited to add: Whooops I didn't see that Absolute posted the SAME thing already..:blush::laugh::laugh:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

17 Dec 2010, 3:33 PM
#277
rovinghouse avatar

rovinghouse

New Zenner

Join Date:
Dec 2010
Posts:
13
Plugin Contributions:
0

Re: Product Attribute Grid

Yes, I understand that I put it in the WRONG direction. Your use of caps shows how much this bothers you. But can you see that the readme file itself makes the correct location a little ambiguous, to say the least?

It all seems clear and obvious to you because you've been working with zencart for years (maybe not you, but some of you) and not days or hours.

17 Dec 2010, 3:47 PM
#278
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Product Attribute Grid

rovinghouse:

Yes, I understand that I put it in the WRONG direction. **Your use of caps shows how much this bothers you.**Not bothered at all.. Caps were used for emphasis, not to covey ANY kind of feelings on the topic.. The only purpose to my post was to communicate the importance of not overwriting the default_template files.. Simply trying to be helpful and share information that will save YOU issues later should you ever update Zen Cart.. 'tis all..

rovinghouse:

But can you see that the readme file itself makes the correct location a little ambiguous, to say the least?Ummm yes.. which is why I posted information to help clarify what was not clear/incorrect in the readme document..

rovinghouse:

It all seems clear and obvious to you because you've been working with zencart for years (maybe not you, but some of you) and not days or hours.WOW!!!! Clearly you've assumed there was some other emotion/feeling/motive behind my post.. There wasn't.. I simply wanted to share some information based on my experience with Zen Cart with someone who was new to Zen Cart. Clearly you read a LOT more between the lines of my post than what was written.. You can take the information in the ACTUAL spirit in which it was shared or continue to assume that I meant/felt something else..:unsure: shrugs

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

21 Dec 2010, 2:40 PM
#279
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: Product Attribute Grid

Hi Absolute,

Great mod, but it seems I've been let loose again! I am woring on https://www.unifiedt.com, but seem to have a small issue.

Everything seems to be set up correctly, I can add stock levels for my 1 option (colour) for all the relevant products in the admin panel, and on the site it also shows the grid with the different colour options and space for quantity. My question is, can customers order 1 blue pack and 1 black pack at once? I have tried this but for some reason on the cart it only shows the main product details ordered, not the options I have chosen. Is there any way to set the cart to show that I have ordered a blue and navy pack for the 3 pice suit, instead of just 1 3 piece suit?

Barend

21 Dec 2010, 4:08 PM
#280
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Product Attribute Grid

Sounds like you have a file incorrectly installed. I know in the install instructions, the location of the tpl_product_info.php file is in slightly the wrong place. This is the file you need to merge with your existing template file.

If installed correctly, you won't see the Add To Cart Quantity box. The button will still be there, but the Qty box will disappear.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store