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