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 321 to 340 of 546
11 Jan 2012, 6:03 PM
#321
dannyvarley avatar

dannyvarley

Zen Follower

Join Date:
Dec 2011
Posts:
287
Plugin Contributions:
0

Product Attribute Grid

Ive put the attributes.php but it hasnt got rid o the stupid quantity radio box! Any help?

And also where abouts would I go to edit how the boxes are displayed?

11 Jan 2012, 8:08 PM
#322
robophung avatar

robophung

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: Product Attribute Grid

DannyVarley:

Ive put the attributes.php but it hasnt got rid o the stupid quantity radio box! Any help?

And also where abouts would I go to edit how the boxes are displayed?

I just saw a link to your site a few posts back. I have a feeling that you did not put my attributes.php file in the right place. Try doublechecking everything and outline exactly where you had replaced the attributes.php file.

As for the way your product attribute variations each take up two lines.. it's not something you can change in the admin settings. Your situation is different than the way my store is set up, since I have a single set price for all the different attributes for a given product, whereas you specify a price for each different attribute. Looking at the source code of your store page, the only way you will be able to modify the way it's displayed, is by going into the PHP file (in this case, it would be the attributes.php) that formats the table layout for your attribute matrix and edit the code to get rid of the <BR> that proceeds each attribute description so that the price is formatted next to the description on a single line, rather than taking up two lines.

But in my opinion, the way it looks, however, the font is so small, that it doesn't take up much extra space anyway. You won't save much space formatting it into one line instead of two for each attribute description.

11 Jan 2012, 8:31 PM
#323
gjh42 avatar

gjh42

Black Belt

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

Re: Product Attribute Grid

Or you can add to your stylesheet

.attrib-grid-vHeader br {display: none;}
.attrib-grid-header-price {padding-left: 1em;}

with any other styling you may want for the price.

Doesn't save much space, but I think it's easier to read.

18 Jan 2012, 3:34 AM
#324
test06 avatar

test06

New Zenner

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

Re: Product Attribute Grid

How to modify in such a way?

With two Multiple Quantity Box.

18 Jan 2012, 6:00 AM
#326
test06 avatar

test06

New Zenner

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

Re: Product Attribute Grid

gjh42:

That would take some additional customized code (PHP and/or javascript).


this modules default is above image when had two attribute.

how can i do like this :

5 Feb 2012, 2:15 AM
#327
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: Product Attribute Grid

I have noticed that if I have a product whose size /attribute has a price increase added to it. eg a XXL pair of shoes might be £2 more than the XS size. That my grid is showing the price in the heading. how do I get rid of this and just show the size i.e. "XXL" not "XXL +£2"

5 Feb 2012, 3:49 AM
#328
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

Like Glenn answered previously can't do it without custom code..

test06:


this modules default is above image when had two attribute.

how can i do like 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.

27 Feb 2012, 8:16 PM
#330
miginternet avatar

miginternet

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

Re: Product Attribute Grid

Hi,

Can the author or contributor(s) confirm if this mod is going to be compatible with zen cart v1.5.0 in the future please.

This is one mod that makes sales and can't upgrade without it, cause it's awesome :)

Thank you.

3 Mar 2012, 5:16 PM
#331
cpt_jelly_belly avatar

cpt_jelly_belly

New Zenner

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

Re: Product Attribute Grid

I have read all 33 pages and can't find the answer I am looking for.

I installed the grid and it seems to work fine except the option values across the top do not line up with the grid boxes.

I have tried reinstalling the files, I put the grid on different products with different values and they only line up with the grids if there is one value. If I select two or more they all shift left.

I am using 1.5 and Ashley Pink template by Picaflor Azul.

It may be a setting on template I suppose, but not sure where to look.

Any help would be appreciated.
Thanks

http://www.thechocolatedropcandyshop.com/chocdrop/index.php?main_page=product_info&cPath=66&products_id=228

7 Mar 2012, 9:48 AM
#332
robophung avatar

robophung

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: Product Attribute Grid

I suspect that you should be using the one last released by Absolute back in 2009 (ver. 1.1.1). That one has no problems handling a product grid array where each product has more than 1 option and in your case, your jellybean product has 3 options per attribute.

I think perhaps the latest release specifically address those of us who require only one column of options, in which case 1.1.1 caused problems, i.e., displaying stray radio button.

11 Mar 2012, 11:56 AM
#333
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

Re: Product Attribute Grid

rxalex:

Daffy, I had the same issue - once installed Product Attribute Grid on 1.3.9h did not see any difference - Thanks for confirming that is mod does not work with 1.3.9h

Hi I am assuming this still doesn't work with 1.3.9h, as I have installed it and everything remains the same. thanks

24 Mar 2012, 11:43 PM
#334
robophung avatar

robophung

New Zenner

Join Date:
Jan 2011
Posts:
66
Plugin Contributions:
0

Re: Product Attribute Grid

?? No, this mod works fine and great with 1.3.9h.

My store is running 1.3.9h and as you can see if you check my sig, this mod has been fully implemented.

2 Apr 2012, 9:51 AM
#335
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Product Attribute Grid

Hi,

I am using Glenn's flexible_attributes_1-1 module on my site which is great for styling and would not want to add the product grid appearance.

Does anyone know how I can get the quantity boxes to appear on attributes without the grid layout. I have been looking at the files in this module to see which parts of the code displays quantity and then adds this to cart, I am not winning though.

Can anyone help?

2 Apr 2012, 11:22 AM
#336
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Product Attribute Grid

moesoap:

Hi,

I am using Glenn's flexible_attributes_1-1 module on my site which is great for styling and would not want to add the product grid appearance.

Does anyone know how I can get the quantity boxes to appear on attributes without the grid layout. I have been looking at the files in this module to see which parts of the code displays quantity and then adds this to cart, I am not winning though.

Can anyone help?

Scrap that, I am being a plonker. Nice addon. Thank you.

2 Apr 2012, 1:25 PM
#337
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Product Attribute Grid

Okay I have two genuine questions now :P

Firstly...

I have Dynamic Price Updater installed and from I installed this module (Product Attribute Grid) the price updater no longer works on pages using the multiple quantity boxes as the price just states £0.00.

Even when I add 1 to one of the quantity fields it still doesnt update the price. Has anyone managed to get these two to play nicely together?

My Second Question is whether it is possible to have one of the quantity boxes to default to 1 upon page load. This way if I can get the dynamic price updater to work, it would display the price for one product when the customer first loads the product_info page.

Thanks for any assistance.

Moe.

2 Apr 2012, 1:45 PM
#338
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Product Attribute Grid

moesoap:

Okay I have two genuine questions now :P

Firstly...

I have Dynamic Price Updater installed and from I installed this module (Product Attribute Grid) the price updater no longer works on pages using the multiple quantity boxes as the price just states £0.00.

Even when I add 1 to one of the quantity fields it still doesnt update the price. Has anyone managed to get these two to play nicely together?

My Second Question is whether it is possible to have one of the quantity boxes to default to 1 upon page load. This way if I can get the dynamic price updater to work, it would display the price for one product when the customer first loads the product_info page.

Thanks for any assistance.

Moe.

I have just noticed another issue. I have one time setup charge included on my products. but because this addon treats the multiple selection of sizes as different products in the shopping cart, my customers are being charged 1, 2, 3 times for this one time charge depending on the amount of different sizes. I have checked to see if anyone else has encountered this issue, but so far have found nothing. Can someone help with this also?

3 Apr 2012, 7:42 AM
#339
moesoap avatar

moesoap

Zen Follower

Join Date:
Mar 2010
Posts:
258
Plugin Contributions:
0

Re: Product Attribute Grid

Is this addon not supported anymore?

17 May 2012, 3:46 PM
#340
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Product Attribute Grid

Force Radio/Grid with Wholesale Filter

I needed to control the switch between display options, in my case 'radio' buttons for guest/retail customers and 'grid' with quantity for wholesale customers.

Here is the code that will force Zen to stop looking at the database options_type > 2 - Radio or > 23997 - Grid. It then relies on the wholesale switch to decide if it should be displaying a radio button or the grid matrix.

Found at the top of includes/modules/YOUR_TEMPLATE/attributes.php

$pr_attr                     = $db->Execute($check_attributes_sql);
$check_attributes_count        = $pr_attr->RecordCount();
$pr_attr->fields['total']    = $check_attributes_count; //Fix for template checks

$check_grid = false;
while(!$pr_attr->EOF) {
  switch($pr_attr->fields['products_options_type']) {
// bof Twitch Force Radio/Grid with Wholesale Filter 1 of 2 May 16 2012
    case '2':  //GRID exists     // Twitch changed '23997' to '2' 
// Twitch Wholesale Filter
if($_SESSION['customers_wholesale'] =='' or $_SESSION['customers_wholesale'] !='1'){
      $check_grid = false;
} else {
      $check_grid = true;
      }
// eof Twitch Force Radio/Grid with Wholesale Filter 1 of 2 May 16 2012
    break;
  }
  $pr_attr->MoveNext();
}

$show_only_grid = false;

if ($check_grid) { // when check grid is true - this determines if the grid actually turns on or not
  if (PRODUCTS_OPTIONS_SORT_ORDER=='0') {
    $options_order_by= ' order by LPAD(popt.products_options_sort_order,11,"0")';
  } else {
    $options_order_by= ' order by popt.products_options_name';
  }
  $sql = "select distinct popt.products_options_id, popt.products_options_name, popt.products_options_sort_order, popt.products_options_comment

          from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib

          where    patrib.products_id='" . (int)$_GET['products_id'] . "'

            and      patrib.options_id = popt.products_options_id
            and      popt.products_options_type = '2'

            and      popt.language_id = '" . (int)$_SESSION['languages_id'] . "'" .

// bof Twitch Force Radio/Grid with Wholesale Filter 2 of 2 May 16 2012

// **** note changed following line:        and      popt.products_options_type = '2'   ***** above to 2 not 23997 - forces it to use the radio buttons by default

// eof Twitch Force Radio/Grid with Wholesale Filter 2 of 2 May 16 2012

IMPORTANT: In the admin section when you navigate to catalog>option name manager you do NOT need to change the option names for your attributes to 'grid', the code above is looking for the radio button switch => option_type = '2' - 'Radio'

Please Note:
This fix is **working **within a heavily modified ZenCart 1.3.9.h including the following unreleased related modules:
Dual Pricing 1.9t - Twitch Wholesale Pricing
Multi Site
Stock by Attribute w/sold out by attribute patched within the grid matrix
Attributes Grid
And More...

Twitch.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian