-
Re: Product Attribute Grid
<?php
switch($_GET['action']) {
case 'add_product':
if (is_array($_POST['products_id'])) {
foreach($_POST['products_id'] as $prid => $qty) {
$products_id = zen_get_prid($prid);
if (is_array($_POST['id'])) {
foreach($_POST['id'] as $option => $option_value) {
$_POST['attribs'][$prid][$option] = $option_value;
}
}
foreach($_POST['attribs'][$prid] as $option_id => $value_id) {
if (substr($option_id, 0, strlen(TEXT_PREFIX)) == TEXT_PREFIX) {
$option_id = substr($option_id, strlen(TEXT_PREFIX));
}
$check_attrib = $db->Execute( "select pov.products_options_values_name from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov " .
"where pa.options_values_id = pov.products_options_values_id " .
"and pa.options_id = '".(int)$option_id . "' " .
"and pa.products_id = '".(int)$products_id ."' " .
"and pov.language_id = '".(int)$_SESSION['languages_id']."'");
if ($check_attrib->RecordCount() <= 1 && $check_attrib->fields['products_options_values_name'] == '') {
unset($_POST['attribs'][$prid][$option_id]);
}
}
if ((int)$qty > 0) {
reset($_POST['attribs'][$prid]);
$_SESSION['cart']->add_cart($products_id, $qty, $_POST['attribs'][$prid]);
}
}
}
$messageStack->reset();
unset($_SESSION['cart_errors']);
$_SESSION['cart']->get_products(false); //Update all prices now we have added everything
break;
}
?>
that's the code
-
1 Attachment(s)
Re: Product Attribute Grid
Hello,
Thank you for a great module! It is very close to what I need... but just want a slight added functionality - maybe it is built into this mod and I don't know about it yet? :)
Here's a screenshot what I'm looking for. I want a combo dropdown and quantity box - so that I dont have quantity for every Option Value, but rather one for each Option Name.
Is it doable?
-
Re: Product Attribute Grid
It looks like you want to have 2 different products on the same page. One for the top, and one for the bottom. This isn't possible with this mondule, and you would also struggle to achieve this with custom Zen code, as the number of attributes has to match the number of products. For example, if you have red/green/blue and S/M/L, you can have 5 S red, or 3 M green, but you can't have 5 red and 3 green, as the attributes are tied together.
What you are look at doing is more along the lines of a different end category layout, where the category is the outfit, with one image. The products in this category are then the products you can see in the photo, and then showing the attribute options within this layout. This is possible, but outside the scope of this particular module.
Absolute
-
Re: Product Attribute Grid
Well, I'm utilizing the Top and Bottom as attributes. There's only going to be sizes, not colors here.
Attribute Top:
XS - S - M - L
Attribute Bottom:
XS - S - M - L
I already have what I need all setup in attributes, and your module almost gets what I need - but to have it more aesthetically pleasing I do not want it all in quantity boxes, just a simple dropdown and one quantity box per attribute.
I'm sure it's possible with this module, I was just wondering if you had a shortcut way to do it, or if I need to custom code.
-
Re: Product Attribute Grid
Oh... I'm seeing where the issue is here. This module actually cross-grids the two attributes together, instead of keeping them separate.
Well, back to the drawing board - but if you have any suggestions, please let me know :)
-
Re: Product Attribute Grid
The problem with what you are trying to achieve here is that actually you have 2 products - TOP and BOTTOM, and these then have a single attribute of SIZE for each product. For example, if a top is $5.00 and a bottom is $10.00, there is nothing to stop me from ordering 10 tops and 1 bottom. As you are trying to combine these products into one attriubte, the system would then add 10 "products" to the cart, and only assign one bottom price. This is going to land you in all kinds of trouble in the future if you ever try to install other modules, or upgrade your site.
Instead, I would recommend you thing about using the "outfit category" which I mentioned above. So, the customer would navigate to Clothing >> Womens >> Gym Wear >> Outfit, where they would then see the top and bottom, and even trainers and accessories listed with one image to the left. If they wanted to examine the products individually, they can then go on to the product page, but here they would see the whole outfit, and be able to add the products and sizes they needed.
This is still a fair amount of work, and not a quick fix, but it would allow you much greater flexibility within your store in the future, such as being able to use cross-sell items, similar items or other "outfits".
Absolute
-
Re: Product Attribute Grid
The problem with what you are trying to achieve here is that actually you have 2 products - TOP and BOTTOM, and these then have a single attribute of SIZE for each product. For example, if a top is $5.00 and a bottom is $10.00, there is nothing to stop me from ordering 10 tops and 1 bottom. As you are trying to combine these products into one attriubte, the system would then add 10 "products" to the cart, and only assign one bottom price. This is going to land you in all kinds of trouble in the future if you ever try to install other modules, or upgrade your site.
Instead, I would recommend you thing about using the "outfit category" which I mentioned above. So, the customer would navigate to Clothing >> Womens >> Gym Wear >> Outfit, where they would then see the top and bottom, and even trainers and accessories listed with one image to the left. If they wanted to examine the products individually, they can then go on to the product page, but here they would see the whole outfit, and be able to add the products and sizes they needed.
This is still a fair amount of work, and not a quick fix, but it would allow you much greater flexibility within your store in the future, such as being able to use cross-sell items, similar items or other "outfits".
Absolute
-
Re: Product Attribute Grid
Unfortunately though, the Cross-sell module will not sell on a category level, and also Google Shopping shows individual products.
My client would want the top and bottom to show as one piece in advertisements, and bring the client to the one product page, while still allowing them to select both the top and bottom at their whim.
-
Re: Product Attribute Grid
i have downloaded attribute grid 1.1.1
i have 4 files but i believe i only copy 3 folders inot my root files.
is this true, if so can you tell me what the "language folder is for?
i have noticed that there are no instructions on how to use the feature. does anyone know a good site where their is help with this.
Also does anyone have any working links to a store with an attributes grid, as i have no idea what the end result would look like.
i have two examples of what i am hoping for it to look like, please take a look and tell me if it is possible to achieve this with the attributes grid or do i need some thing else:
http://www.diamondbladedealer.com/co...bb540f85326646
http://www.homelinen.co.uk/homelinen...unt_150210.htm
these two types of different, listed product descriptions, with color (dropdown) and QTY is what i am looking for. is this what the attribute grid addon is for or is there another way?
thank you once again you lot are great
-
Re: Product Attribute Grid
Quote:
Originally Posted by
theAymen
Also does anyone have any working links to a store with an attributes grid, as i have no idea what the end result would look like.
If you are willing to do a little research through this support thread, there are examples posted by other members..
-
Re: Product Attribute Grid
thank you kim, i have been through all the posts i just have two questions.
1) to be able to list, different product descriptions with the price - do i need this addon or can i do it another way. as i beliee this addon is for multiple attributes, does this mean it is for listing multiple prices
2) this is what i am looking for, im sure i do not need this addon for listing different sizes/descriptions like this person has
http://www.diamondbladedealer.com/co...bb540f85326646
if there is another way, please someone help!
-
Help....
Please help, How can make like this:
http://www.pokerdiscount.net/poker-c...ices-1704.html
How to modify this code to get the result like above :(
PHP Code:
$grh_size = sizeof($grid_records['H']['options']);
$grv_size = sizeof($grid_records['V']['options']);
if (($grh_size > 1) || zen_not_null($grid_records['H']['options'][0]['name'])) {
$top_rowspan = 2;
} else {
$top_rowspan = 1;
}
if (($grv_size > 1) || zen_not_null($grid_records['V']['options'][0]['name'])) {
$top_colspan = 2;
} else {
$top_colspan = 1;
}
$attrib_grid = '<table id="attrib-grid-table">'."\n" .
'<tr>'."\n".
' <td colspan="'.$top_colspan.'" rowspan="'.$top_rowspan.'"></td>'.
'<td colspan="'.sizeof($grid_records['H']['options']).'" id="attrib-grid-opt-nameH">'.$grid_records['H']['name'].(zen_not_null($grid_records['H']['comment']) ? '<br /><span id="attrib-grid-opt-commentH">'.$grid_records['H']['comment'].'</span>' : '').'</td>'."\n".
'</tr>'."\n".
'<tr>'."\n";
for($grh=0; $grh < $grh_size; $grh++) {
if (($grh_size > 1) || zen_not_null($grid_records['H']['options'][$grh]['name'])) {
$attrib_grid .= '<td class="attrib-grid-hHeader" id="attrib-grid-hHeader-'.$grid_records['H']['options'][$grh]['id'].'">'.$grid_records['H']['options'][$grh]['name']. ($grid_records['H']['options'][$grh]['price'] != 0 ? '<br /><span class="attrib-grid-header-price">'.$grid_records['H']['options'][$grh]['price_prefix'].$currencies->format($grid_records['H']['options'][$grh]['price']).'</span>' : '').'</td>';
}
}
$attrib_grid .= '</tr>'."\n";
for($grv=0; $grv < $grv_size; $grv++) {
$attrib_grid .= '<tr>'."\n";
if ($grv == 0) {
$attrib_grid .= ' <td rowspan="'.$grv_size.'" id="attrib-grid-opt-nameV">'.$grid_records['V']['name'].(zen_not_null($grid_records['H']['comment']) ? '<br /><span id="attrib-grid-opt-commentV">'.$grid_records['V']['comment'].'</span>' : '').'</td>'."\n";
}
if (($grv_size > 1) || zen_not_null($grid_records['V']['options'][$grv]['name'])) {
$attrib_grid .= ' <td class="attrib-grid-vHeader" id="attrib-grid-vHeader-'.$grid_records['V']['options'][$grv]['id'].'">'.$grid_records['V']['options'][$grv]['name']. ($grid_records['V']['options'][$grv]['price'] != 0 ? '<br /><span class="attrib-grid-header-price">'.$grid_records['V']['options'][$grv]['price_prefix'].$currencies->format($grid_records['V']['options'][$grv]['price']).'</span>' : '').'</td>'."\n";
}
$attribute_stock_controlled = (defined('TABLE_PRODUCTS_WITH_ATTRIBUTES_STOCK') && $show_only_grid);
$show_attribute_stock = ($attribute_stock_controlled && zen_get_show_product_switch($_GET['products_id'], 'quantity') == 1);
$show_attribute_out_of_stock = ($attribute_stock_controlled && SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1');
for($grh=0; $grh < $grh_size; $grh++) {
$attributes_ids = array( $grid_records['H']['id'] => $grid_records['H']['options'][$grh]['id'],
$grid_records['V']['id'] => $grid_records['V']['options'][$grv]['id']
);
$products_attribs_id = zen_get_uprid((int)$_GET['products_id'], $attributes_ids);
$attribute_stock = 'notset';
if ($attribute_stock_controlled && ($show_attribute_out_of_stock || $show_attribute_stock)) {
$out_of_stock_button = zen_image_button('attribute_out_of_stock.gif', ALT_ATTRIBUTE_GRID_OUT_OF_STOCK);
$stock_check_array = array();
if (zen_not_null($grid_records['H']['options'][$grh]['name'])) $stock_check_array[] = $grid_records['H']['options'][$grh]['id'];
if (zen_not_null($grid_records['V']['options'][$grv]['name'])) $stock_check_array[] = $grid_records['V']['options'][$grv]['id'];
$attribute_stock = zen_get_products_stock($_GET['products_id'], $stock_check_array);
}
$attrib_grid .= '<td class="attrib-grid-cell" id="attrib-grid-cell-'.$grid_records['H']['options'][$grh]['id'].'-'.$grid_records['V']['options'][$grv]['id'].'">';
switch(true) {
case ($show_attribute_out_of_stock && (int)$attribute_stock < 1):
$attrib_grid .= $out_of_stock_button;
break;
default:
$attrib_grid .= zen_draw_input_field('products_id['.$products_attribs_id.']', '', 'size="3"').
zen_draw_hidden_field('attribs['.$products_attribs_id.']['.$grid_records['H']['id'].']', $grid_records['H']['options'][$grh]['id']).
zen_draw_hidden_field('attribs['.$products_attribs_id.']['.$grid_records['V']['id'].']', $grid_records['V']['options'][$grv]['id']);
if ($show_attribute_stock == true) {
$attrib_grid .= '<div class="attrb-stock">'.sprintf(TEXT_ATTRIBUTE_GRID_IN_STOCK, $attribute_stock).'</div>';
}
break;
}
$attrib_grid .= '</td>';
}
if ($grid_records['V']['images'] == true) {
$attrib_grid .= '<td class="attrib-grid-vImages" id="attrib-grid-vImages-'.$grid_records['V']['options'][$grv]['id'].'">';
if (zen_not_null($grid_records['V']['options'][$grv]['image'])) {
$attrib_grid .= zen_image(DIR_WS_IMAGES . $grid_records['V']['options'][$grv]['image']);
}
$attrib_grid .= '</td>';
}
$attrib_grid .= '</tr>'."\n";
}
if ($grid_records['H']['images'] == true) {
$attrib_grid .= '<tr>'."\n" .
' <td colspan="2"></td>';
for($grh=0; $grh < $grh_size; $grh++) {
$attrib_grid .= '<td class="attrib-grid-hImages" id="attrib-grid-hImages-'.$grid_records['H']['options'][$grh]['id'].'">';
if (zen_not_null($grid_records['H']['options'][$grh]['image'])) {
$attrib_grid .= zen_image(DIR_WS_IMAGES . $grid_records['H']['options'][$grh]['image']);
}
$attrib_grid .= '</td>';
}
if ($grid_records['V']['images'] == true) {
$attrib_grid .= ' <td></td>';
}
$attrib_grid .= '</tr>';
}
$attrib_grid .= '</table>'."\n";
-
Re: Product Attribute Grid
Hello,
I have a problem in installin it. I renamed the folder YOUR_TEMPLATE to the name of my actual template (darkness), then I uploaded all files. I navigated into the public shop, and the logged into admin, but the module seems not installed.
Anyone could help me? I tried to search but not very familiar with english lang.
Thank you in advance
-
Re: Product Attribute Grid
Hi, I'm using this addon with version 1.3.8a. I have installed this addon on to my live site along with the stock by attributes mod. It works wonderfully. However, I have started on my local machine to change the template and a few other things. In re-adding these modules back in to the new template, when you add some of my products to the cart it's coming up as out of stock.
I added the products to the catalog with current stock.
I assigned them attributes.
I went to the attribute manager and added each stock per attribute.
I'm at a loss as to why only 2 out of the 5 products I have there so far are coming up as out of stock in the shopping cart. I have deleted the products and re-added them thinking I may have done something wrong, but this did not fix it. I then deleted the attribute variants and checked....you can add it to the cart fine. However when I reassign the variants...I get the out of stock warning again. There are 3 in stock: 1 petite, 1 regular, 1 long.
I've tried some searching but my search terms turn up way too many results to sift through. Any help with this would be greatly appreciated.
Edit:
I think this has something to do with only using one set of attributes such as only Size. I followed this from the read me
- If you wish to use this module with single attributes, where all options are listed with a Quantity box next to them, set up an attribute called Quantity, which is a Radio type option. Next setup one option value, which has no text defined, so it is just a completely blank value. When you add this to the product, along with another Radio or Dropdown field, it will default to the GRID format. To ensure that the Quanity is always at the top of the grid, set the sort order for this option to -9999.
I double checked and as far as I can tell I have done this correctly. The reason I think it has to do with this is that the 2 out of 5 products I'm having an error on in the cart, have only one set of attrbutes. Product A is 6 different colors, and Product B is 3 different sizes.
-
Re: Product Attribute Grid
@magnomora- mate i have the same issue, i dont know where those instructions have come from, im using the same as you. in the readme file it clearly says to simply take out the files and put them into the same folders (where it says "your_template" means you put that file in the folder which has your template name") in your sites file manager. that is what i did yesterday.
now i have a question, as there are no instructions on how to use it, i found some but what i need is to have the following:
description: price QTY color
single duvet 198x98 £29.99 [ ] [dropdown]
double duvet 298x192 £39.99 [ ] [dropdown]
does anyone know any good tutorials or help sites. please forward the link. thanks ppl!
-
Re: Product Attribute Grid
@theyAmen - the page you have linked to on that site is a CATEGORY PRODUCT LISTING page, and not a PRODUCT PAGE. Each of those items is an individual product, not an attribute.
@mihaw - no idea what you are asking I'm afraid. Can you be more specific?
@magnaromagna - did you view a PRODUCT within the STORE? Only when you have visited a product page, will this module auto-install.
@FunkyPapa - with regard the stock issue, you may want to check that the Stock by Attributes function file edits are still in place. This module doesn't include any stock checking functions itself, but relies entirely on the Stock by Attribute module and the edits which are included within this module to display the In Stock messages.
Absolute
-
Re: Product Attribute Grid
sorry absolute this is the right link, please look at the grid
http://www.homelinen.co.uk/homelinen...unt_150210.htm
this is what i want it to look like, the other link i posted was not the right one.
i seem to only get one COLOR box, though the attributes are ok, the add to cart needs to be moved to the bottom of page
my site looks like this
http://realpurecotton.com/index.php?...&products_id=3
thanks ppl. even though it seems like absolute is the true daddy here!
-
1 Attachment(s)
Re: Product Attribute Grid
I have this working great now. I have the input boxes centered, the size choices centered and the color choices centered.
I do have 3 questions that I hope are easy fixes, I simply don't know where to make the changes.
Please see the attached image for specific details. Thank you
Attachment 7623
-
Re: Product Attribute Grid
I have this working great now. I have the input boxes centered, the size choices centered and the color choices centered.
I do have 3 questions that I hope are easy fixes, I simply don't know where to make the changes.
I did try adding padding into :
.attrib-grid-cell {text-align:center;vertical-align: center;}
.attrib-grid-vHeader {text-align:center;vertical-align: center;}
.attrib-grid-hHeader {text-align:center;vertical-align: center;}
.attrib-grid-opt-nameH {text-align:center;vertical-align: center;}
But if this is the place, then I'm just not inputting it right. I apologize for my lack of specifics with PHP.
Please see the attached image for specific details. Thank you
Attachment 7623
I also apologize for my edit causing a double post :(
-
Re: Product Attribute Grid
ok, i have managed to make it work! great addon.
though when you add your 2nd attribute to the grid (color), the word "quantity" disappears.
i want to keep it how it is, with the word "quantity" box next to my sizes, but i would like to add a dropdown box for my colors next to the QTY box.
"SIZE" "QTY" "COLOR" [dropdown]
heres what im working with:
http://realpurecotton.com/index.php?...r_of_uploads=0
as ypu can see i only got 1 dropdown box, but i want one for each attribute.
i have seen a post of someone that has done this but i cannot find it anymore. IF SOMEONE KNOWS HOW TO DEAL WITH THIS PLS HOLLA
-
Re: Product Attribute Grid
This can't be done with this module. The whole idea of this module is to show one option across the top, and the other down the side, and then any other attributes once. For example, if you are designing T-Shirts, in colours and sizes, the size would go across the top, and the colour would go down the side - creating a GRID. This grid then contains a number of boxes, and these are then used for the QUANTITY.
With the T-shirt idea, if you then wanted to add the same caption to all of them, you can add ONE textbox to the bottom of the listing, and this will apply to all products you add to your cart.
If you want to show a number of PRODUCTS, with a ATTRIBUTE SELECTION, and a QUANTITY box next to them, this should be done as a CATEGORY LISTING, and NOT as a PRODUCT LISTING. The difference is that the CATEGORY LISTING page allows the addition of more than 1 product to a cart at a time.
Absolute
-
Re: Product Attribute Grid
Thanx adsolute your a G.
cool, i`ll work with what i got, though im sure it could be done wiv a bit of tinkering. the homelinen.co.uk link above use zencart and have it done very simply. `ill find a way...
Bless! this is a great add on .
-
Re: Product Attribute Grid
Can you use this mod create lets say I am selling furniture and I need all beds to display different mattress options will this do the trick?
For example category beds, will this add all mattresses to this category?
-
Re: Product Attribute Grid
Quote:
Originally Posted by
Absolute
@magnaromagna - did you view a PRODUCT within the STORE? Only when you have visited a product page, will this module auto-install.
Yes, I see a product page in the store (now the store has only 2 sample products). I kindly ask if you could visit it and navigate to try to install (i'm sending a pm with the url)
And a question that - sorry - I did not understand reading the posts: in a zen cart ecommerce for a tshirts shop, where each product have 2 attributes (size, color), is possible to show a grid with all combinations, to let the customer add to chart - in the same page - 2 blue shirt of size X, 3 red shirts of size XL, etc?
Thank you again
-
Re: Product Attribute Grid
I have used this with previous versions of Zen and it works great... however I am now attempting to use it with 139 and everything (so far) seems to be working EXCEPT that for all my products, it's showing the amount of the items in stock even though I changed my settings to NOT show this....anyone know where this problem is?
-
Re: Product Attribute Grid
Quote:
Originally Posted by
laurenjj
I have used this with previous versions of Zen and it works great... however I am now attempting to use it with 139 and everything (so far) seems to be working EXCEPT that for all my products, it's showing the amount of the items in stock even though I changed my settings to NOT show this....anyone know where this problem is?
I'm an idiot.....this had nothing to do with the mod and everything to do with me totally forgetting the basics of zen-cart. So sorry....
Carry on :)
-
Re: Product Attribute Grid
I have 3 styles for each product, and different sizes for each style. However I'm in showcase mode, so the information is for read-only purposes, and thus my 3 attributes are set to read-only. Does this add-on work with read-only attributes? I don't need the quantites or radio-boxes.
Something like this maybe that shows which combinations are available, but in a table format. Is this add-on appropriate for me?
Style 1: Available in Size 1, Size 2
Style 2: Available in Size 2
Style 3: Available in Size 2, Size 3
-
Re: Product Attribute Grid
THis module is deliberately designed to give the customer input fields, so that they can enter the quantity of each style and size they are looking for. The code also generates a number of extra hidden variables to ensure the correct products are added to the cart.
Honestly, if you're in showcase mode, and you just want to show a grid of what's in stock, you might be better off just adding a table to your product description, and managing it from there.
Absolute
-
Re: Product Attribute Grid
I set two attributes Grid: The size and color. sizes have multiple values as S, M, L, XL, but placed in alphabetical order and need to fit in the order that I may require.
Thank you.
-
Re: Product Attribute Grid
Can someone help me out (even if you need to specially code it). I need to allow a user to have a grid full of options to selct various quantities for but...the prices of these gris options will change based on what they select in the previous dropdown attribute. I guess this could be called a dependent attribute. I know, I know, ZC can't do this right now and I have seen that response 500 times on this forum but can someone help me out for $$$??? I am not rich but I can contribute to the cause here. I know I am not the only one that can use this.
Thanks!!
:frusty:
-
Re: Product Attribute Grid
jmacdoug,
I have a JQuery workaround that may work for you - give it a try:
http://www.zen-cart.com/forum/showthread.php?p=838839
-
Re: Product Attribute Grid
Hey Jackie. I love a challenge...I can't wait to try it out. My only concern is that I have Dynamic Price Updater, Product Attribute Grid and Flexible Attributes installed. Would you suggest a clean install first?
Thanks!!!
Jeff
-
Re: Product Attribute Grid
Hey Jeff,
No I think you should be ok! This JQuery updates the page based only on the Option Name selected. So it shouldn't interfere with anything else, or care what other modules are installed.
That's just my guess though! Give it a try and let me know how it works for you.
-
Re: Product Attribute Grid
Hi there,
I have a client that would like to use this mod to sell incense of varied scents on one product page with a quantity box next to each variation.
I have installed the mod as well as the stock by attributes mod and have added the incense with grid selected. I can’t seem to get each option to have its own quantity box though, I am a bit confused. Any assistance on this would be greatly appreciated.
http://www.centeroftheuniversegifts....a04e8119d9c36c
Thanks!
Kris
-
Re: Product Attribute Grid
Hi Just installed product attribute grid only one problem - I get duplicate attribute images. looking at the source, one lot (there are two colours) is:
Class="attrib-grid-hImages" the second - duplicate - is Class="attribImg"
both reference the same images.
I have deleted the images and re installed them but get the same duplication.
What have I done wrong?
Would appreciate any advise.
-
Re: Product Attribute Grid
Hi, I've installed the module and it is very close to what I need. The problem is each size is displaying it's own quantity discount as opposed to discounts for the group.
Example:
Small: 25 (no discount shown...would be ok if the order was for 25 total
Medium: 50 (shows discount for 50)
Large: 100 (shows discount for 100)
XL: 200 (shows discount for 200)
2XL: 300 (shows discount for 300)
What I need it to show is a single discounted price for 650 items using the example above
It appears in the cart as though 5 different products are being added instead of 1 product with it's attributes included.
Attributes are set to mixed.
You can see it here:http://customscreenprintingservice.c...roducts_id=275
Any help is appreciated
-
Re: Product Attribute Grid
I am trying to install this thread, but I've run into some discrepencies in the install read.me
These files:
includes/templates/YOUR_TEMPLATE/tpl_modules_attributes.php
includes/templates/YOUR_TEMPLATE/tpl_product_info_display.php
is actually located:
includes/templates/YOUR_TEMPLATE/templates/tpl_modules_attributes.php
includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
And I already have them there. I dropped them in the original location as well, backed up and then copied over my existing files, and then navigated to a page multiple attributes, and it didn't "self install" :(
Is it compatible with the latest zen cart? Is that my issue?
This is the page I'd love to get it working on:
http://www.rainestudios.net/index.ph...products_id=79
Right now I've reverted back to my original tpl_product_info_display.php file, so my additional images (on other products) would be screwy.
thanks for any help anyone can offer!
-amy
Does it have to have the Stock by Attributes add-on to work?
Confused little muffin over here :(
-
Re: Product Attribute Grid
Hello, I am new here to this forum, so welcome everybody.
Actually, I was am visiting from the german Zencart site because I could not find help for my problem there - hopefully you might give me some valuable suggestions.
I was installing this module in order to display 2 attributes in a grid - say Colour and Position. I believe the install went smoothly, because I get another option at the attributes panel called: grid. When creating two separate attributes with this property, any item displaying these attributes will not be selectable to my shopping cart. Sorry for my Englisch, I do not know how to put this right! Albeit the grid is there, any information entered in the grid (quantity) will not translate into anything processable by my ZC. Still, if I stay with two separate Radio or Dropdown attributes, the addition into the cart goes well.
Any suggestions - thank you for your time and effort,
sincerely
Stevie
PS: I am using the 1.38a version (german+englisch)
PPS: To illustrate what I mean, I created two test categories in my shop (under construction), one termed "grid", the other "radio": www.wolfram-dental-shop.at
-
Re: Product Attribute Grid
I'm having the problem of both a grid and radio button appearing for an attribute. I'm pretty sure it's an issue already discussed a number of pages back, but I'm confused as to what the fix is. I'm doing this on a local test server so no links. Hopefully the screen shots show up :)
Fresh install of 139f, and downloaded this mod a couple of days ago. I also tried installing stock attributes and merged where appropriate, but no change. All of these attributes are set to the grid option type. Everything loads into the cart just fine though!
Incorrect:
http://fabricland.com/img/tmp/valance.png
Correct:
http://fabricland.com/img/tmp/panel.png
-
Re: Product Attribute Grid
Hi everyone,
Alright, I am having a problem with the Price by Attribute are displaying without GST/VAT, no matter what is set in the Admin panel in Product type layout etc.
The Funny thing is that even the PRefix (+) is still showing regardless of the fact I set it to Blank??
I figure it would have something to do with the module Attribute page, but for the life of me I cannot see it!
Anyone who could point me int he right direction would be a legend!
I am using Zen Cart 1.3.7, and only have a greybox setup and super order.
It must be hard coded, however I can't see :|
Thanks in advance
you can see the site with the issue @ http://www.boheme.net.au/retail/inde...products_id=26
-
Re: Product Attribute Grid
Zen Cart version: v1.3.9f
I have a problem where I'm using the SBA module and this one together and the out of stock isn't working properly when one of the attributes is out of stock.
I have products that come in various sizes. If I add stock to one of the sizes, ALL size options become available in the grid. Even if I specifically set the quantities of the other options to zero, they still show up on the product page.
Surely this isn't how it is supposed to work.
Any ideas?
-
Re: Product Attribute Grid
OK, I solved it. Hopefully others will find this useful.
Here is how:
Replace this line:
PHP Code:
$attribute_stock = zen_get_products_stock($_GET['products_id'], $stock_check_array);
With this:
PHP Code:
$attribute_stock = zen_get_products_stock($stock_check_array[0]);
NOTE: This was with only one vertical line and variable number of horizontal lines. I have not tested nor do I plan on testing any other variations.
-
Re: Product Attribute Grid
Quote:
Originally Posted by
jacdesigner
For those of you trying to style the table to look a bit more attractive, you can locate this line in the /modules/yourtemplatename/attributes.php:
$attrib_grid = '<table id="attrib-grid-table" cellpadding="3" border="1">'."\n" .
Personally I changed the border to 0.
You can also append your stylesheet by adding the following classes and ids (style however you wish)...
.attrib-grid-cell {text-align:center;border:0;vertical-align: top;}
.attrib-grid-vHeader {border: 0;}
.attrib-grid-opt-nameH {border: 0;}
#attrib-grid-hHeader { }
#attrib-grid-opt-nameH {}
#productAttributes {}
I followed these directions and it works perfectly. I have one (I hope minor) question...how would I center the entire table inside the outer border seen here:
http://funkymunkys.ca/index.php?main...products_id=15
The please choose at the top appears to be in the center, it doesn't matter to me if it stayes there or moves over with the 'size' section...I would just like to know how to get equal amounts of space on the left and the right.
<edit> I just noticed also, is there a way to get the 'size' radio button to not appear? </edit>
-
Re: Product Attribute Grid
I have ZC 1.3.9c fresh install with SBA Ajax and Product Attribute Grid (latest version). Both mods are working very well.
There is only one problem with the Grid and discounted prices (I use price by attribute):
On the product page the attribute price shows undiscounted, however in the shopping cart the correct discounted price shows.
Doe anyone know how I can make the mod to display the discounted attribute prices on the product page?
-
Re: Product Attribute Grid
Can you post a link to your site?
Absolute
-
Re: Product Attribute Grid
Quote:
Originally Posted by
Absolute
Can you post a link to your site?
Absolute
The site is still epiremental, but you can see what happens on this product page:
The DISCOUNTED item is priced at 229 but displays at 299, adding it to the card gives correct price 229.
Thanks for looking into my problem.
-
Re: Product Attribute Grid
-
Re: Product Attribute Grid
Why is this mod not working for me. I changed my Option "Color" to Grid display and it's now a dropdown.
http://hotpinkwholesale.com/beanies/...ate-cocoa-infa
Why isn't this working?
-
Re: Product Attribute Grid
Quote:
Originally Posted by
Absolute
The module is designed to set out attributes within a grid format, when 2 dropdown or radio options are available. For example, if an item has both colour and size. The grid is populated with quantity fields, so that a number of products can be added at any time.
This can be seen on our test store, located at
http://www.absolute-solutions.co.uk/...products_id=36
Please feel free to contact me with suggestions or updates for the next release,
Absolute
The link isn't working. Is there any other site that can provide a sample? I was wondering how do you change the way the attribute layout is when you have a lot of things for a particular item?
-
Re: Product Attribute Grid
@varnerific - this is a fairly complex module, and there are a number of reasons why it could possibly be failing to work on your store. In the main, if you follow the README instructions to the letter, you'll find it works without exception. Most member of the community who have used this module and had problems have gone back to the readme file, re-read it, and found they have missed out a vital step.
If this isn't the case, then unfortuantely, I'm going to need more to go on than it simply doesn't work....
@authentic01 - our test site is currently offline due to a major rebuild we are undertaking for a future module. If you want to see this module in action, please take a look at FunkyPapa's link towards the top of this page. That is a particularly good example.
Absolute
-
Re: Product Attribute Grid
Okay I feel so stupid - I've read most of this very long post and have seen the instructions repeated over the two versions and I still just don't get it. Yes, I have read instruction for the 1.1.1 and 0. I tried a couple different possibilities for a missed interpretation on my part.
I'm using a fresh install of zen cart v1.3.9g no added templates - nothing.
I have two products loaded so when I get this right it will load as the directions indicated.
My assumption or interpretation of the instructions
1) Back up
2) place unzipped files into the zen cart main directory. I am just dragging the includes folder into the main directory. (files are there)
3)Move the 2 php files from the newly created YOUR_TEMPLATE folder to the classic folder that is under the templates folder
4)Go to the store side of the site and click into a product.
5)log into the admin side and check to see if "Grid" is in the Options Type drop down.
I don't understand this comment all: "The attributes appear in SORT_ORDER, so the lowest of the two sort orders will be the attribute to the LEFT of the grid, and the last will be the TOP of the grid."
I'm very sorry to ask such a basic question, I've also searched for other tutorials to help me understand but not finding anything. I just fried after a week of trying on my own.
any direction is appreciated.
Regards,
John
-
Re: Product Attribute Grid
"The attributes appear in SORT_ORDER, so the lowest of the two sort orders will be the attribute to the LEFT of the grid, and the last will be the TOP of the grid."
What more is there to say? If you have two attributes, one with a sort order of 10 and one with a sort order of 50, the one with the value 10 will appear to the left (rows), and the one with the value of 50 will appear across the top (columns).
If you have vlaues of 1 and -100, the 1 will appear at the top (columns) and the -100 will appear to the side (rows).
Absolute
-
Re: Product Attribute Grid
Thanks Absolute - Okay - I get it, that was pretty basic, thought there was something more to it. But this was not really my issue. I do appreciate the added explanation.
More importantly, if my steps are correct in my post, what the heck and I doing wrong?
Quote:
My assumption or interpretation of the instructions
1) Back up
2) place unzipped files into the zen cart main directory. I am just dragging the includes folder into the main directory. (files are there)
3)Move the 2 php files from the newly created YOUR_TEMPLATE folder to the classic folder that is under the templates folder
4)Go to the store side of the site and click into a product.
5)log into the admin side and check to see if "Grid" is in the Options Type drop down.
I am familiar to ftp and mods, some basic coding and.... I've been making mods before the old DBman product successfully. But, I'm just having a killer of a time getting this module to work. I swear I will make a donation if I can get this going and create a visual step-step instruction set for the next person having issues. I know I'm just missing something basic.
-
Re: Product Attribute Grid
Remember, if you find this module useful, we do welcome donations so that we can invest more of our own time in improving this module. Details of how you can donate towards this module can be found in the README file attached to the install. Donating towards development of any of the communities modules is not done through the same channels as donating towards the Zen Cart project however.
@Tabacoman - firsly, what is the URL for your site? What is the name of your current template directory? Have you put the files in step 3 above in the CLASSIC folder, or have you put them into your own active template directory, in the relevant subfolders? Do you get the GRID option within the admin?
It really is an easy module to install, due to the way we've applied the edits to specific files, but if any of the files are missing or in the wrong folders, you won't see the updates you need.
Absolute
-
Re: Product Attribute Grid
Absolute -
Thanks for reminding me how easy the install is so many times. lol..
Seriously, thank you for taking time out of your day to help another bone-head.
I'm sure you are thinking "Oh God not another one"
Here's where I went wrong:
I read "Files included in this install are:" (thinking in the package) which they are, but missed that YOUR_TEMPLATE lands in two places.
So when I read "Where the folder is called YOUR_TEMPLATE, place the contents within your current template folder" I just put all three files into the Template Folder.
Approaching this a little more clear headed this time I thought let me just duplicate the structure listed DUH, that was it. I even noticed the php for gif days ago but could not get this.
I over read and over complicated the instructions. I think that's what happens to a person that's been dealing with VirtureMart for so long.
BTW - Your mod is why I've moved to ZC
I will honor my promises.
-
Re: Product Attribute Grid
Quote:
Originally Posted by
Tabascoman
I think that's what happens to a person that's been dealing with VirtureMart for so long.
Welcome to the land of REAL e-commerce and REAL support.. Zen Cart and this forum are the reasons why I'll NEVER mess with Virtue Mart EVER again!!!!!
-
Re: Product Attribute Grid
Hi All,
First of all - great contribution! I've installed the Product Attributes Grid, Stock by Attributes, Dynamic Drop Downs, and Bulk Attribute Creator add-ons. In regards to this add-on (Product Attributes Grid), I'd like to achieve a grid similar to the one found at:
http://www.sks-science.com/lab-supply-p-4423.html
It shows, stock #, size, description, case/pk, price/cs, and qty.
The site I'm working on is:
http://www.altaonemedical.com/index....r_of_uploads=0
Can anyone help me or direct me in getting this setup?
Thanks,
AC
-
Re: Product Attribute Grid
Okay that celebration was short lived. Any updates concerning the Upload Hack posted in October 09?? The hack is working, just not
getting file name in confirmation as indicated.
@ DivaVocals LOL Thanks -
-
Re: Product Attribute Grid
@charagg - the lauout you want to copy is achievable with this module, however, you will need to change some of the code, as the current module doesn't support model numbers, sizes etc. If you want to edit these details, you should take a look at the includes/modules/YOUR_TEMPLATE/attributes.php file. This is the file which builds the table structure as a string, ready for output.
You also want to change the sort order of your attributes, so that QTY becomes the heading of the rows.
@Tabascoman - so you now have the grid layout working? The hack for the upload was something added after this module was created, so I have to admit, I'm not that familiar with it. I'll try and set this up on our test site.
Absolute
-
Re: Product Attribute Grid
Fantastic module. It is just what I am looking for.
I am selling yarn where the various colors are displayed as an attribute.
I would like this format
attrib-grid-cell
text
image
I would like six colors to a line but when the grid is specified, all ten colors appear on the same line.
How would I go about formatting it so only six appear on a line?
I have specified six per line in the product options.
TIA Tom
http://www.stitchboutiqueboston.com/...-skeins-p-144/
-
Re: 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
-
Re: Product Attribute Grid
Thanks for the reply. My php is weak. WOuld you be able to point me in the right direction? :cool:
-
Re: Product Attribute Grid
Quote:
Originally Posted by Nick1973
Hi Absolute,
I'm using your mod Attribute Grid 1.1.1 on a site
see here
http://www.junewoods.com/index.php?m...&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
-
Re: Product Attribute Grid
@Tabascoman - Thanks John for your support! Hope you find the module useful.
Absolute
-
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/sho...&products_id=1
If someone knows a solution for this. Please help!
-
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?
-
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
-
Re: Product Attribute Grid
Quote:
Originally Posted by
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.
-
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/...&products_id=2
I'm running v 1.3.9 and I have Products with Attributes installed as well.
-
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
-
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?
-
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
-
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
-
Re: Product Attribute Grid
I didn't mean to sound self-congratulatory with that last post. Thank you Absolute.
-
Re: Product Attribute Grid
It should be located in:
includes/templates/classic/templates/tpl_product_info_display.php
Glad you got this resolved.
Absolute
-
Re: Product Attribute Grid
Quote:
Originally Posted by
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.php
And 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:
-
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.
-
Re: Product Attribute Grid
Quote:
Originally Posted by
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..
Quote:
Originally Posted by
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..
Quote:
Originally Posted by
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**
-
Re: Product Attribute Grid
Hi Absolute,
Great mod, but it seems I've been let loose again! I am woring on 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
-
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
-
Re: Product Attribute Grid
Hi Absolute,
Thanks, I have looked through everything and this was my fault. Somehow the old add to cart details was still on the product_info_display.php, replaced it with your Add to Cart box info and now it works. Merry Christmas!:clap:
Barend
-
Re: Product Attribute Grid
Sorry, me again. I have now placed a test order (products were marked as £ 0.00 and walk in collection so no delivery). The order completed successfully, however when I look at the order details, I get this:
1 x Skirt Suit J1111 0% £0.00 £0.00 £0.00 £0.00
2 x 3 Piece Suit J1129 0% £0.00 £0.00 £0.00 £0.00
1 x Skirt Suit
- Colour: J1111 0% £0.00 £0.00 £0.00 £0.00
2 x Skirt Suit
- Colour: J1111 0% £0.00 £0.00 £0.00 £0.00
1 x Skirt Suit
- Colour:
It completes the order but does not specify the colour the customer ordered. Can you help? :blink:
B
Barend
-
Re: Product Attribute Grid
Also, for some reason, on the order confirmation, it does not show the customer, shipping or billing address info, together with not showing the colours of the products added?
-
Re: Product Attribute Grid
Unfortunately, it could be due to any number of reasons. If all your addresses are missing as well, this may just point to a bigger problem with your store, outside the realms of this module. In order to further advise you on this problem, I would need to see the code and bug-fix from there.
Absolute
-
Re: Product Attribute Grid
Quote:
Originally Posted by
Absolute
If you want to change teh grid to display vertically, just change the sort order of the 2 attributes. If you're only using one attribute, then create a second one which is QTY, in exactly the same way you did for the first version. You can then just change the sort order of these 2 attributes, and hey-presto, horizontal becomes vertical.
Absolute
Thanks for your contribution and hard work for this excellent addon, Absolute. That being said, there are a variety of problems that pop up when trying to create a single column of product attributes that's oriented vertically. Please note that the issue only arises in this specific scenario (trying to get a single column of attributes with vertical alignment), when using the solution proposed by Absolute in the quote above.
Specifically, a stray radio button pops up for the attribute thats aligned to go across the top. Also, headers for the top of the grid appear multiple times.
I noticed that there are a few users on here that encountered these issues on this support thread and their posts didn't get answered, since I was trying to look for the solution myself. I went ahead and studied the code and was able to correct the issues for the most part.
1. Stray radio button removed.
2. Multiple headers for the top of the grid removed.
3. Also formatted the header thats located to the left side to be on the top so that both attribute headers appear along the top of their respective columns.
And here is the fixed attributes.php file: link
(Note: In case it's not obvious, remove .bak from the file before you use it.)
And here is my zencart store with fixes applied: http://store.purseobsession.com
Please note that the fixes are ONLY for the specific case that you want 1 vertical column and the code output will most likely give you problems if you try to use it on a store that has products with multiple column attribute grids.
Also remember to back up your old files and database as I am not responsible for any errors or problems that pop up due to this fix that I posted.
Hope this helps some folks out.
-
Re: Product Attribute Grid
Absolute,
Very interested in seeing this application. After several attempts to follow your link the site is still not operational.
Please let me know when it is up.
Thank you!
-
Re: Product Attribute Grid
Hi,
i'm new to all this and i've looked but found no real answers - hopefully i haven't missed a post already.
i'm trying to set up a photography site for someone selling prints. the prints are priced on A: their size, and B: the type of paper they're printed on.
combinations of size and paper must be chosen. there is no constant percentage or fixed correlation between the options in terms of price.
currently i have a drop-down box with 20 choices of prices for each photograph and its variant sizes/quality. a bit ungainly.
Can i use two check/ radio boxes to let the customer make the two choices and return a price of the combination?
i believe this is called a 'price matrix' (but i may be wrong)
i'd appreciate suggestions.
many thanks, graham. :smile:
using zen: v1.3.9g
-
Re: Product Attribute Grid
@garypoet - Yes you are correct - you are looking for Matrix Pricing, but this is outside of the remit of this module.
@Goldenis - there are a couple of working examples on this thread - look back a couple of pages, and you'll find a few great examples.
Absolute
-
Re: Product Attribute Grid
thanks, absolute. i'll take a look.
in the meantime - i don't want to be a Zen dissenter but... could anyone recommend anything else that might be more what i'm looking for?
i've googled around without much success :(
(although i'm almost resolved to the multiple drop-down option i have already)
cheers, graham
ps. (unless anyone wants to write some kind of suitable module?! :P )
-
Re: Product Attribute Grid
Quote:
Originally Posted by
RoboPhung
1. Stray radio button removed.
2. Multiple headers for the top of the grid removed.
3. Also formatted the header thats located to the left side to be on the top so that both attribute headers appear along the top of their respective columns.
And here is the fixed attributes.php file:
link
(Note: In case it's not obvious, remove .bak from the file before you use it.)
Woo hoo! This has been bugging me for 6+ months. Your fix worked perfectly. Thank you!
I'm still having one more bug - once added to my cart there is still a ' - Qty' entry. What did you do to fix this?
-
Re: Product Attribute Grid
If you get a - qty entry then you have your attributes set up incorrectly. I suspect you have it set as an Option Value instead of an Option Name.
Absolute
-
Re: Product Attribute Grid
I had problems getting the Product Attribute Grid to work at all on my site, since I upgraded to 1.3.9h. I had downloaded the most recent version of the Product Attribute Grid and used that. I decided to "roll back" to the older version I'd been using and now all is well.
I don't use the inventory stock module with it, so this is fine. Although I do think your integration with the stock module is a fabulous idea so I'll maybe fiddle with all of it later on but I'm just glad to have the product grid working again.
I thought this info might be helpful for others.
-
Re: Product Attribute Grid
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
-
Re: Product Attribute Grid
Hello Absolute
Thanks for this great module.
I have one question.
Is there any way that I can use dropdown list for quantity box not text??
My website is Japanese and since japanese use 2 byte charactors, i don't want customer to input 2 byte numbers which don't work as a quantity.
To prevent it, i would rather customers to chooose quantity than type quantity...
is there any way i can do that??
Thank you.
-
Re: Product Attribute Grid
Quote:
Originally Posted by
tmonkey
Woo hoo! This has been bugging me for 6+ months. Your fix worked perfectly. Thank you!
I'm still having one more bug - once added to my cart there is still a ' - Qty' entry. What did you do to fix this?
I have the same problem and I haven't really looked into it, but I don't think the solution is within my abilities to fix... I'm no expert at coding.
I think the problem is that the quantity field is treated as an attribute for every product in this grid, as when you think about the way this addon functions, it's a matrix of 2 attributes. So its actually doing the right thing by listing the "quantity" attribute for each product in the shopping cart.
For now I'm just living with it on my webstore. I don't think it really confuses my customers anyhow. I will try to explore a true fix sometime in the near future.
-
Re: Product Attribute Grid
You can do. You just need to replace the input field with a pull_down_menu, which lists the quantity levels you want to offer. It's a small edit, and easy enough to achieve. You need to look at the ATTRIBUTES.php file found in the MODULES folder.
Absolute
-
Re: Product Attribute Grid
Absolute, is this compatible with 1.3.9h?
-
Re: Product Attribute Grid
Quote:
Originally Posted by
Absolute
You can do. You just need to replace the input field with a pull_down_menu, which lists the quantity levels you want to offer. It's a small edit, and easy enough to achieve. You need to look at the ATTRIBUTES.php file found in the MODULES folder.
Absolute
Thank you so much for your reply。
I looked at attributes.php but i couldn't figure it out where and how i should edit.
I'm very new to php :(
Could you tell me how i should edit?
I wan't to offer qauantity 1, 2, 3.
Thank you again for your help.
-
Re: Product Attribute Grid
Quote:
Originally Posted by
charagg
Hi All,
First of all - great contribution! I've installed the Product Attributes Grid, Stock by Attributes, Dynamic Drop Downs, and Bulk Attribute Creator add-ons. In regards to this add-on (Product Attributes Grid), I'd like to achieve a grid similar to the one found at:
http://www.sks-science.com/lab-supply-p-4423.html
It shows, stock #, size, description, case/pk, price/cs, and qty.
The site I'm working on is:
http://www.altaonemedical.com/index....r_of_uploads=0
Can anyone help me or direct me in getting this setup?
Thanks,
AC
I'm wondering if anyone has figured out how to do this? This type of grid format is what my client is requesting and I just can't figure out how to modify the attributes.php file to get it to look like this. And, all I need to display is the attribute name, price, and qty box in a row. Has anyone done this and willing to share how?
Thank you!
-
Re: Product Attribute Grid
I think this is great module - so firstly thank you!
BUT I do have a slight issue and not sure how to correct it
90% of my products all is working fine - a small handful though are not only showing the grid but also a radio button of the same information!
I only have 2 attributes - Size & qty and both are set to GRID but it seems that the size one is the one causing the issue
If I copy product - same issue
If I copy minus attributes - and re add them - same issue
Not the same for all products only certain ones - and cannot see what is different about them
Site not yet live so cannot give you a link PM me though and i will - sorry really doesn't help!
1.3.9h newest download
one of the size items was a duplicate - but other are not - so not sure how to move forward!
Oh the other thing if I delete out everything between your "tpl_modules_attributes.php" comments - ie ONLY use your grid format the fine ones still work but the dodgy ones show nothing - which seems to imply that they still think they are "radio buttons" and not "grid"
As there are about 200 option values - redoing that part isn't going to be easy!
Any ideas much appreciated?
Thanks
Sarah