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 181 to 200 of 546
24 Feb 2010, 6:04 PM
#181
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Product Attribute Grid

sorry....

forgot to report back..

yes it was me being rubbish and not installing correctly..mind elsewhere of late...

will donate asap!
thank you

2 Mar 2010, 4:48 PM
#182
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Product Attribute Grid

DivaVocals:

I've search the thread but don't see an answer for this. My apologies if it has been posted and I missed it.. I think I've found a bug with this mod.

See this product:
http://clients.overthehillweb.com/hairisle/Stock-Lace-Wigs/Indian-Remy-Soft-Fro-Partial-Lace-Perimeter-Large

This product has two option names: color & wig length. Color has two option values, and wig length has only one. Though BOTH attributes are set up with the grid type, when I add wig lenth to the product the attribute not only shows up as part of the grid, but also as a radiobutton too. I doubled checked that there is only have ONE option name called "Wig Length", and I double checked that there is only ONE 16" value added to this product.

This product had the same issue. To double check that this is indeed a bug, I added an additional option value to the wig length. Once I did that, the radiobutton disappeared.
http://clients.overthehillweb.com/hairisle/Stock-Lace-Wigs/Chinese-Remy-Brazilian-Curl-Full-Lace-Perimeter-Medium

Also I see that the issue is only a problem if there is one value on the right side of the grid. Products which have only one option value across the top of the grid do not display this behavior:
http://clients.overthehillweb.com/hairisle/Stock-Lace-Wigs/Indian-Remy-Vixen-Curl-Full-Lace-Perimeter-Medium

I could use some help as to HOW to fix this..:smile: Obviously the workaround is to add another option value to the right side of the grid, but I'd like to not HAVE to do this..

I'm having exactly the same issue here.

It looks like you've found a work around for this. Any chance you could point me in the right direction please?

Many thanks,

Alex

My Contributions: Zen Lightbox | Best Sellers Reloaded

2 Mar 2010, 5:47 PM
#183
absolute avatar

absolute

Totally Zenned

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

Re: Product Attribute Grid

Can you post a link to your site?

If the attributres are appearing as both a grid and a radio field, you need to check that you have set them to GRID types in the admin. You then need to check that the includes/modules/YOUR_TEMPLATE/attributes.php file is correctly loading.

Finally, check your tpl_products_info_default.php file. If you are using a template file here, I suggest renaming it, and seeing it the problem persists with the original Zen template file.

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

2 Mar 2010, 9:05 PM
#184
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

Alex Clarke:

I'm having exactly the same issue here.

It looks like you've found a work around for this. Any chance you could point me in the right direction please?

Many thanks,

AlexI never got an answer, and if you look my problem description you'll see that I already describe the workaround..

Obviously the workaround is to add another option value to the right side of the grid, but I'd like to not HAVE to do this..

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.

2 Mar 2010, 9:11 PM
#185
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

Absolute:

Can you post a link to your site?
See my post that Alex quoted above.. (links included)

Absolute:

If the attributres are appearing as both a grid and a radio field, you need to check that you have set them to GRID types in the admin.
Check

You then need to check that the includes/modules/YOUR_TEMPLATE/attributes.php file is correctly loading.
Check

Finally, check your tpl_products_info_default.php file. If you are using a template file here, I suggest renaming it, and seeing it the problem persists with the original Zen template file.
If I recall correctly, my template did not have a modified version of this file so I used the one from this mod.. But I'll check this tonight..

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.

3 Mar 2010, 12:01 AM
#186
absolute avatar

absolute

Totally Zenned

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

Re: Product Attribute Grid

Which version of this module are you using? The latest version should not require 2 attributes in order to show the grid. As long as grid option types are used, then the grid should be automatic.

I'll check the code this week,

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

3 Mar 2010, 12:44 AM
#187
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

Absolute:

Which version of this module are you using? The latest version should not require 2 attributes in order to show the grid. As long as grid option types are used, then the grid should be automatic.

I'll check the code this week,

AbsoluteI'll check as soon as I get home and report back, but it was the MOST recent version available in the downloads as of when I 1st reported the issue..

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.

14 Mar 2010, 7:16 PM
#188
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Product Attribute Grid

Hey there

I'm quite a savvy Zenner and I'm using this add-on on some of my sites but I hit a snag on one of the new sites.

I've installed the add-on and it displays grids beautifully (even a grid for just one attribute) and the quantity boxes show ok. As soon as you select any quantity of the attribute and "Add to Cart" it displays a "no items in your cart message" so it's impossible to add anything to a cart.

If I reset the attributes option to anything but "grid" it works fine again.

I've checked all the usual but can't seem to find the cause - any ideas?

Thanks

Cliff

16 Mar 2010, 9:23 AM
#189
absolute avatar

absolute

Totally Zenned

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

Re: Product Attribute Grid

You want to check that the grid appears within a form within the page. You also want to ensure that the extra_cart_actions folder has been uploaded correctly.

If this module is failing, then there will be a file missing, or the grid is appearing incorrectly.

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 Mar 2010, 10:33 PM
#190
poolandspadirect avatar

poolandspadirect

New Zenner

Join Date:
Feb 2010
Posts:
1
Plugin Contributions:
0

Re: Product Attribute Grid

Was this ever finished?

mrgtih2:

Thanks to thomasharding's post and some PM his code inserted into the file absolute_products_with_attributes.php in the includes/extra_cart_actions/ folder we now have the uploads working but with a glitch. It doesn't add the attribute to the cart so it would be hard for the owner of the site to know that someone added an upload.

I am reaching out to the devs or anyone else for some help to get this to work.

Here is the code that was used ,

##########BEGIN UPLOAD HACK#############

      $real_ids = isset($_POST['id']) ? $_POST['id'] : "";
      if (isset($_GET['number_of_uploads']) && $_GET['number_of_uploads'] > 0) {
        /**
         * Need the upload class for attribute type that allows user uploads.
         *
         */
        include(DIR_WS_CLASSES . 'upload.php');
        for ($i = 1, $n = $_GET['number_of_uploads']; $i <= $n; $i++) {
          if (zen_not_null($_FILES['id']['tmp_name'][TEXT_PREFIX . $_POST[UPLOAD_PREFIX . $i]]) and ($_FILES['id']['tmp_name'][TEXT_PREFIX . $_POST[UPLOAD_PREFIX . $i]] != 'none')) {
            $products_options_file = new upload('id');
            $products_options_file->set_destination(DIR_FS_UPLOADS);
            $products_options_file->set_output_messages('session');
            if ($products_options_file->parse(TEXT_PREFIX . $_POST[UPLOAD_PREFIX . $i])) {
              $products_image_extension = substr($products_options_file->filename, strrpos($products_options_file->filename, '.'));

//Arch 04/2007 - to add product name to uploaded file
$prod_image_name = substr($products_options_file->filename, 0,-4);
//eof
if ($_SESSION['customer_id']) {
$db->Execute("insert into " . TABLE_FILES_UPLOADED . " (sesskey, customers_id, files_uploaded_name) values('" . zen_session_id() . "', '" . $_SESSION['customer_id'] . "', '" . zen_db_input($products_options_file->filename) . "')");
} else {
$db->Execute("insert into " . TABLE_FILES_UPLOADED . " (sesskey, files_uploaded_name) values('" . zen_session_id() . "', '" . zen_db_input($products_options_file->filename) . "')");
}
$insert_id = $db->Insert_ID() . $prod_image_name ;
$real_ids[TEXT_PREFIX . $_POST[UPLOAD_PREFIX . $i]] = $insert_id . ". " . $products_options_file->filename;
$products_options_file->set_filename("$insert_id" . $products_image_extension);
if (!($products_options_file->save())) {
break;
}
} else {
break;
}
} else { // No file uploaded -- use previous value
$real_ids[TEXT_PREFIX . $_POST[UPLOAD_PREFIX . $i]] = $_POST[TEXT_PREFIX . UPLOAD_PREFIX . $i];
}
}
//$this->add_cart($_POST['products_id'], $this->get_quantity(zen_get_uprid($_POST['products_id'], $real_ids))+($new_qty), $real_ids);
}
##########END UPLOAD HACK#############

If someone has any Ideas please let us know, Thanks!

29 Apr 2010, 3:49 AM
#191
xshaanx avatar

xshaanx

New Zenner

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

Re: Product Attribute Grid

attributes qty box show up but when i put number qty i want to add to cart it dosen't updates

can u tell me why? how to fix that problem pls need badly..thanks

29 Apr 2010, 7:37 AM
#192
absolute avatar

absolute

Totally Zenned

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

Re: Product Attribute Grid

@xshaanx - have you followed the instructions to the letter? Have you installed the file found in includes/extra_actions/ 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

30 Apr 2010, 3:20 AM
#193
xshaanx avatar

xshaanx

New Zenner

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

Re: Product Attribute Grid

yes i have done everything install everything as it say in intru file

30 Apr 2010, 10:02 AM
#194
absolute avatar

absolute

Totally Zenned

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

Re: Product Attribute Grid

Without further information, such as a link to your site, or seeing your actual code, I can't offer any further suggestions. If you have followed all the instructions as you state you have, this module will just work with a standard template.

It's been downloaded over 4500 times, and so far, only a handful of people have the same problems over and over. It's normally down to the placement of code, or a template over-ride.

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 Apr 2010, 2:42 PM
#195
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Product Attribute Grid

I have installed this addon and love it. I have one question about it though. Is it possible to have 3 sizes, and 1 color as shown here:

http://funkymunkys.ca/index.php?main_page=product_info&cPath=36_55_77&products_id=7

and not have the sizes shifted one space to the left so that they are no longer lined up properly?

30 Apr 2010, 4:53 PM
#196
funkypapa avatar

funkypapa

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Product Attribute Grid

FunkyPapa:

I have installed this addon and love it. I have one question about it though. Is it possible to have 3 sizes, and 1 color as shown here:

http://funkymunkys.ca/index.php?main_page=product_info&cPath=36_55_77&products_id=7

and not have the sizes shifted one space to the left so that they are no longer lined up properly?

I changed a couple of things, the above link no longer works..
Here is the right one:
http://funkymunkys.ca/index.php?main_page=product_info&cPath=36_55_79&products_id=14

30 Apr 2010, 11:09 PM
#197
absolute avatar

absolute

Totally Zenned

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

Re: Product Attribute Grid

@FunkyPaPa - What happens if you change the sort order? Do you still get the rows offset by one value?

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

1 May 2010, 1:55 AM
#198
xshaanx avatar

xshaanx

New Zenner

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

Re: Product Attribute Grid

the website http://www.shaplajewelrywholesale.com

i wud really appreciate you help out to fix this problem..

thanks adv..

1 May 2010, 6:47 AM
#199
absolute avatar

absolute

Totally Zenned

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

Re: Product Attribute Grid

Everything on the page appears to be rendering corrctly. The forms are set up in the right way, and submitting to the right script. The next thing to check is that your extra_cart_actions script is receiving the data, and find out why this is failing.

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

1 May 2010, 1:01 PM
#200
xshaanx avatar

xshaanx

New Zenner

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

Re: Product Attribute Grid

im sorry im not so goood at coding.. so can u tel me how can i find that were do i look for the erro.. or can i just give u the info and u can help me to fix this problem..

i 'll realy apre...