-
Problems with addon: Dynamic Drop Downs for Stock By Attribute
Hi,
Is there a dynamic drop downs support thread for this add on? Couldn't find a thread so here goes...
I just added the dynamic drop downs add-on, I'm also running stock by attribute. The dynamic drop downs add-on seems to have removed all the stock numbers I had next to each attribute (not really an issue mind, I didn't like that feature), the problem is, I'm now able to add out of stock attributes and even the "select a size" value to the basket. It basically adds a product without any attributes at zero cost... which is a little annoying.
Anyone know a) how to fix this, or b) how to remove this add-on?
Thanks
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Did you check first if the new addon touched ANY files that other add-ons also touched?
If there are like files then you need to merge the features/changes from them all into one file that is to be used
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Just checked, the files uploaded when I added the dynamic dropdowns add-on don't touch any of the files uploaded when I added the stock by attributes add-on. Hmm, thanks though, i'll keep looking.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Sorted... it was the simplest of problems caused by an unnecessary line break, if anyone else reading this is having similar problems make sure you have no unnecessary line breaks in your code...
I copied this line of code right out of the dynamic drop downs read me document and pasted it into Dreamweaver:
Code:
define('TEXT_OUT_OF_STOCK', 'Out of stock');
define('TEXT_OUT_OF_STOCK_MESSAGE', 'The combination of options you have selected is currently out of stock. Please select another
combination.');
But there's a line break in the formatting between the words "another" and "combination". Dreamweaver carried this over and I didn't even notice. This is what caused the problems.
The code should be like this:
Code:
define('TEXT_OUT_OF_STOCK', 'Out of stock');
define('TEXT_OUT_OF_STOCK_MESSAGE', 'The combination of options you have selected is currently out of stock. Please select another combination.');
Thanks for your help kobra, wouldn't have looked twice at this if you hadn't prompted me.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Great!!
Somethings turnout to be basic coding errors...
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I added these mods, and I'm also looking for a howto thread or faq. I don't need the stock functionality (everything is always in stock), but I would like the ability to control the content of only 2 of my 5 attribute dropdown boxes (I don't want it to apply to all attributes for my products).
Is there a way to do this? It's forcing me to select an option in dropdowns 3-n, when those are optional. My products always have the same attribute names. The value/prices changed based on what is selected in the first 2 attribute dropdowns.
And can I just default a 1 in for all quantities since I don't use them? And finally, if I decide to not go forward with this mod, is there a way to disable it without uninstalling? It turned my radio buttons into dropdowns, and that may be a deal-breaker.
Thanks in advance.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Anyone figure out if the issue mentioned in the above post was ever figured out? I'm desperate here....
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by laurenjj
Anyone figure out if the issue mentioned in the above post was ever figured out? I'm desperate here....
If no stock is required then there is no need for what was asked - -
Just adjust your admin > config > stock > settings
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
i installed the addon "Dynamic Drop Downs for Stock by Attributes
" and it works fine, it's just that now I am unable to add additional pictures.
Does anyone know how to do that?
I tried adding it the normal way in Attributes controller but it doesnt show up since I added the dynamic drop down addon.:cry:
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
After much hair pulling, I've managed to come up with a sort of solution to my initial problem (and I believe a few other of your) problem...... which is how to use this mod when you have some products that have attributes OTHER THAN dropdowns because currently you can't....And I've gotten far and will post the entire work around when it's complete so I don't confuse anyone....but my current question may just be a simple zencart/mysql/php question:
I added a flagged field to the 'products' table via phpmyadmin then when the tpl_product_info_display.php page (includes/templates/YOURTEMPLATE/templates) loads, around line 134, right after where the code to 'display the product attributes' is, I have put in an if/else statement that says that if that product is 'flagged' then /tpl_modules_attributes.php will load, and if not, then /tpl_modules_attributesversion2.php will load. Now I know that statement works because
Code:
<?php
/**
* display the product atributes
*/
if ($_GET['products_id'] < 2) {
require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php');
}
else {
require($template->get_template_dir('/tpl_modules_attributestemp.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributestemp.php'); }
}
?>
Will indeed load the one page for all products with a product_id less than2, and the other page for all others.... what I'm having a problem doing is changing the 'product_id' to the new 'flagged' field in the same table. I can indeed PRINT the 'flagged' value (either 0 or 1) by plugging in:
Code:
<?php echo $product_info->fields['flagged']; ?>
but I can't figure out how to correctly replace
Code:
if ($_GET['products_id'] < 2) {
with something like
Code:
if ($_GET['flagged'] = 2) {
...
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Hate to dredge up such an old post.. but I wanted to know if you ever resolved this?? I've seen lots of posts on this issue, but you appear to be the closest to having a real solution.. Did you work this out.. Care to share???:smile:
Quote:
Originally Posted by
laurenjj
After much hair pulling, I've managed to come up with a sort of solution to my initial problem (and I believe a few other of your) problem...... which is how to use this mod when you have some products that have attributes OTHER THAN dropdowns because currently you can't....And I've gotten far and will post the entire work around when it's complete so I don't confuse anyone....but my current question may just be a simple zencart/mysql/php question:
I added a flagged field to the 'products' table via phpmyadmin then when the tpl_product_info_display.php page (includes/templates/YOURTEMPLATE/templates) loads, around line 134, right after where the code to 'display the product attributes' is, I have put in an if/else statement that says that if that product is 'flagged' then /tpl_modules_attributes.php will load, and if not, then /tpl_modules_attributesversion2.php will load. Now I know that statement works because
Code:
<?php
/**
* display the product atributes
*/
if ($_GET['products_id'] < 2) {
require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php');
}
else {
require($template->get_template_dir('/tpl_modules_attributestemp.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributestemp.php'); }
}
?>
Will indeed load the one page for all products with a product_id less than2, and the other page for all others.... what I'm having a problem doing is changing the 'product_id' to the new 'flagged' field in the same table. I can indeed PRINT the 'flagged' value (either 0 or 1) by plugging in:
Code:
<?php echo $product_info->fields['flagged']; ?>
but I can't figure out how to correctly replace
Code:
if ($_GET['products_id'] < 2) {
with something like
Code:
if ($_GET['flagged'] = 2) {
...
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
If I want to uninstall dynamic dropdowns, do I simply carefully remove / replace the various files uploaded? I know it modified the mysql database, do I need to worry about that?
Warm Regards,
Joel
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
I know it modified the mysql database, do I need to worry about that?
Yes you will most likely...see if the mod has a removal sql
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I have just installed this mod today. I'm not sure what happened but I can see the attribute but not the quantity. This mod is supposed to display the quantity along with the attributes isn't it?
http://lilpixies.com/index.php?main_...&products_id=2
Hope someone can help me.
Thanks!
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Short answer.. this mod doesn't work, and there has been no support for it in forever..
Quote:
Originally Posted by
anshii
I have just installed this mod today. I'm not sure what happened but I can see the attribute but not the quantity. This mod is supposed to display the quantity along with the attributes isn't it?
http://lilpixies.com/index.php?main_...&products_id=2
Hope someone can help me.
Thanks!
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I have been told that this mod doesn't work, but in places people say that it works great.
Well,does it work or does it not? I would appreciate knowing. It would be a help and save time if it does and a waste of time if not.
Please let me know.
Jerry
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
DivaVocals
Short answer.. this mod doesn't work, and there has been no support for it in forever..
Quote:
Originally Posted by
jerryclunsford
Well,does it work or does it not? I would appreciate knowing.
Suggest you read through this support thread...
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I can try and help out with any specific issues. The mod does work but it requires that you follow the read me. Please post any issues and I will try and assist.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
Dunk
Hi,
Is there a dynamic drop downs support thread for
this add on? Couldn't find a thread so here goes...
I just added the dynamic drop downs add-on, I'm also running stock by attribute. The dynamic drop downs add-on seems to have removed all the stock numbers I had next to each attribute (not really an issue mind, I didn't like that feature), the problem is, I'm now able to add out of stock attributes and even the "select a size" value to the basket. It basically adds a product without any attributes at zero cost... which is a little annoying.
Anyone know a) how to fix this, or b) how to remove this add-on?
Thanks
This was due to improper installation. Please review the documentation to ensure you completed every step.
Cal
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
modernm
I can try and help out with any specific issues. The mod does work but it requires that you follow the read me. Please post any issues and I will try and assist.
Did that.. even sent you an e-mail with a link to the issue I posted about.. I long ago uninstalled this mod.. Perhaps if I have some time, I'll re-install on my test store, and re-post the issues I was having (which appear to be the SAME issues I saw others post about as well)..
ETA: Found my previously reported issues:
http://www.zen-cart.com/forum/showth...t=91232&page=3
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Mod works great for me. Doesn't seem to have any problems. Installed it fine.
I am just trying to figure a way to make the out of stock items that are out of stock just grey out (disable) so it cant be selected, and the items in stock only selectable.)
Then it will be keen. ;) That how they are doing it on eBay Variation auctions. Would love a similar effect.
Attachment 7200
:cool:
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by creinold
That how they are doing it on eBay Variation auctions. Would love a similar effect.
All you need is a room full of coders like they have...
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
well actual if I can figure out where to insert this:
disabled="disabled"
in this mods code, it will do the same thing. =)
Looks like it some kind of javascript written in php?
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I've installed this mod also. After a while and testing I figured out that the stock by attributes module MUST be Stock by Attributes 1.4.9 by niestudio. With that combination it works quite well. Except for some small problems.
Firstly I found out that there is a problem with attribute images. If you have only one attribute on a product the images wont show.
Secondly it seems that gift vouchers can not be ordered alone. I am not quite sure if this was caused by Dynamic Dropdown or Stock by Attributes mod since I installed them at the same time.
Thirdly if you delete an order (say customer resturns stuff) and want to also return the stock it does not work correctly. This might be because of Stock by Attributes is not working as it should.
Does anyone have any solution for attribute images or for the voucher problem?
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Not completely true.. While this might work with that particular version of SBA, it was written for and will work with the KUROI version of SBA..
As I've stated in previous posts, the dynamic attributes module only works with ONE set of settings, and even then it does not work well.. While I know it's desired behavior, the module simply doesn't work well, and for me and my clients I would prefer a FULLY functioning module than one that only works partially..
Quote:
Originally Posted by
KarZan
I've installed this mod also. After a while and testing I figured out that the stock by attributes module MUST be Stock by Attributes 1.4.9 by niestudio. With that combination it works quite well. Except for some small problems.
Firstly I found out that there is a problem with attribute images. If you have only one attribute on a product the images wont show.
Secondly it seems that gift vouchers can not be ordered alone. I am not quite sure if this was caused by Dynamic Dropdown or Stock by Attributes mod since I installed them at the same time.
Thirdly if you delete an order (say customer resturns stuff) and want to also return the stock it does not work correctly. This might be because of Stock by Attributes is not working as it should.
Does anyone have any solution for attribute images or for the voucher problem?
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Maybe I did something wrong since I could not get it to work with any other version of SBA. Anyhow I agree with the fact that this is not a well done mod. But since I do not have time to rewrite it (with my capabilities it would just take too long :smile: ) and for now this functionality is enough and there is no other mod with similar behaviour (sequential selections).
If I get to the situation that more than two attributes is required I think I have to consider another approach. For now I am not doing this as a profession but helping my daughter with her webshop so there are only limited number of attributes in use.
But still I would like to get the attribute images to work with products with one attribute. If no one has found the solution yet I have no other possibility but to dig in to this problem my self :shocking:
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
So after solving this problem for the 2nd time I figured I should post my solution here!
I'm using Zen 1.3.9d, with stock_by_attributes4.7 and dynamic_drop_downs_for_stock_by_attributes_1-3-4. The problem I found was with the entry in the "includes/database_tables.php" file. The instructions left out the "DB_PREFIX" part. You should add as shown below:
define('TABLE_PRODUCTS_STOCK', DB_PREFIX . 'products_with_attributes_stock');
Worked for me, hope this helps someone else out! :cool:
Pete
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I found another issue with this mod that might be causing problems for some. You cannot use apostrophes in the option values. For example: "Men's" and "Women's" won't work but "Mens" and "Womens" will work.
-
1 Attachment(s)
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I have installed this module on zc1.3.9f and followed as suggested by pete_srcs post #27. It works as mentioned, it's just one small thing that bothers me. I have quite long option values and I want one of the option start with option value somewhere near the middle. Before I installed this module actually I created a dummy option value and set the order number somewhere at the center and also set this value as default so that when user selected this option, they'd be somewhere at the center.
This module adds its own dummy text but I managed to remove it, however my dummy text 'value' has gone as shown in the image.
Please help me. I just need the first option to behave like this.
Attachment 8173
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Please ignore my previous post. I can workaround the issue by creating an attribute stock for my dummy option value. The problem now is on the default selected option value that overwrite the one set from Attribute Controller.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I seem to have got this mod working to a point but I want to show the in stock and out of stock message for sequenced drop downs. eg select colour and then select size for you t-shirt. At the moment the size out of stock does not show. I would like it to show the size in the list but show it out of stock. Allowing in the customer to backorder.
Any one got any clues. I think the answer is in the class file but I just cannot seem to work out the value to tweek to get it to work.
Thanks
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I would love to be able to display this out of stock message on the product page itself, without having to display it in the dropdown... any idea how to do this?
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I installed this mod on my website and everything is working good as far as showing what is out of stock, but I am having a problem where now when someone orders something the invoice is not showing the size or color that they ordered. Has anyone else had this problem? Any ideas on how I can correct this?
-
drop down now not displaying £ sign properly
i have v1.3.9h
all seems to be working
however, i have assigned cost values to attributes, e.g. some options add a an amount when you click add to cart, you can see it here http://www.melianpetsupplies.co.uk/i...roducts_id=329, select 'Red' and you will see the small option below, but the pound sign £ is broken
any idea how i might fix this? as i said, before upload £ sign was fine
any pointers, help, or guidance would be greatly appreciated
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
shahram
I installed this mod on my website and everything is working good as far as showing what is out of stock, but I am having a problem where now when someone orders something the invoice is not showing the size or color that they ordered. Has anyone else had this problem? Any ideas on how I can correct this?
I've had this problem too. I think it relates to the fact that sometimes people don't choose an actual option and the dropdown still lets them add it to the cart......need a fix for that....anyone got one?
-lindasdd
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I was able to correct the error of adding products with no option selected by switching to sequenced_dropdowns. Now the problem is that the dropdowns no longer show the out of stock attributes which is not how I'd like it to display.
-lindasdd
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Having same problem as Linda. When using sequenced dropdowns the Out of stock-message doesnt show? :(
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
lindasdd
I was able to correct the error of adding products with no option selected by switching to sequenced_dropdowns. Now the problem is that the dropdowns no longer show the out of stock attributes which is not how I'd like it to display.
-lindasdd
Hey Jagge,
I wasn't having a problem with mine. I wanted the out of stock flavors to not appear in the dropdown and that is how they function.
If you actually want the out of stock flavors to appear in the dropdown and say "out of stock" I'm not sure how to configure it to do that.
-lindasdd
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
To make attributes required, Zen Cart recommends adding a display only attribute as the default for your options. However, installed Dynamic Dropdowns breaks this functionality as it adds it's own default option which is not a display only attribute. Then, it uses JavaScript to require a selection.
From time to time you may still get an order without an attribute selection because JavaScript was disabled or a JS error caused the validation to fail.
I've come up with the following workaround. Open includes/functions/functions_lookups.php and find:
PHP Code:
function zen_get_attributes_valid($product_id, $option, $value) {
Within the function find:
PHP Code:
$check_valid = true;
Add after:
PHP Code:
// disallow adding attributes with a value of 0
if ($option > 0 && $value === 0) {
$check_valid = false;
}
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Thanks Numinix! Love the fix. :smile:
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I am having troubles with this addon aswell. My website displays this on each product page.
Quote:
1146 Table 'beauty42_zc1.products_with_attributes_stock' doesn't exist
in:
[SELECT quantity FROM products_with_attributes_stock AS a LEFT JOIN zen_products_attributes AS b ON (b.options_id=1 AND b.options_values_id=1) WHERE a.products_id = '6' AND a.stock_attributes = b.products_attributes_id AND a.quantity > 0 order by b.products_options_sort_order]
The thing i notice is that my table is actually named zen_products_with_attributes_stock. I searched through the files I uploaded and couldn't find where the table was defined. Any help would be appreciated.
Brent
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Nevermind, Pete_srcs already posted the fix. I just didnt understand it the first time i read it. Thanks Pete.
Quote:
Originally Posted by
mentose457
I am having troubles with this addon aswell. My website displays this on each product page.
The thing i notice is that my table is actually named zen_products_with_attributes_stock. I searched through the files I uploaded and couldn't find where the table was defined. Any help would be appreciated.
Brent
Quote:
Originally Posted by
Pete_srcs
So after solving this problem for the 2nd time I figured I should post my solution here!
I'm using Zen 1.3.9d, with stock_by_attributes4.7 and dynamic_drop_downs_for_stock_by_attributes_1-3-4. The problem I found was with the entry in the "includes/database_tables.php" file. The instructions left out the "DB_PREFIX" part. You should add as shown below:
define('TABLE_PRODUCTS_STOCK', DB_PREFIX . 'products_with_attributes_stock');
Worked for me, hope this helps someone else out! :cool:
Pete
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
would be good to have a working version for zencart v1.5.0 - this going to happen?
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
mattys
would be good to have a working version for zencart v1.5.0 - this going to happen?
Only if a volunteer comes along to update it.. Of course if someone updates this they should fix it so it works fully as intended..
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Hello All,
I really just want to full uninstall Dynamic Drop Downs for Stock by Attributes but I cannot find an uninstall.sql anywhere...I have been searching for a long time tonight.
Please help me.
Thank you,
Tom
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I have not installed this add-on yet, because i don't know if it will fit what I need.
What I need is some logic with my attributes. I have a drop down with 3 choices for personalization. Then I have a drop down 5 possible fonts below that. If the customer selects "Single Initial", then I only want fonts 1-3 to show up in the font drop down. If they select "3 Initials" I want fonts 1-4 to show up, and if they choose "Text", I want fonts 1, 3, and 5 to show up in the font drop down.
Will this add-on do that. If not, do you know if there's an add-on that will? This seems like it would be a common need, so am hoping that there is one.
Thanks,
Alisa
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
dancingbay
I have not installed this add-on yet, because i don't know if it will fit what I need.
What I need is some logic with my attributes. I have a drop down with 3 choices for personalization. Then I have a drop down 5 possible fonts below that. If the customer selects "Single Initial", then I only want fonts 1-3 to show up in the font drop down. If they select "3 Initials" I want fonts 1-4 to show up, and if they choose "Text", I want fonts 1, 3, and 5 to show up in the font drop down.
Will this add-on do that. If not, do you know if there's an add-on that will? This seems like it would be a common need, so am hoping that there is one.
Thanks,
Alisa
If you want to know more about this mod, I suggest reading through the support thread to see if your question is answered.. I don't sue this mod because it leaves much to be desired IMHO.. For you it might be different..
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Agreed, this mod is definitely problematic.
Basically, via stock by attribute and DDDs, if you have a size drop down, e.g. s, m, l, and a colour drop down, e.g. red, blue green, if you choose 'small', it will then display all the colours that have stock in small, but not the ones that don't.
Matt
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
DivaVocals
If you want to know more about this mod, I suggest reading through the support thread to see if your question is answered.. I don't sue this mod because it leaves much to be desired IMHO.. For you it might be different..
Why is there not any documentation telling what this mod will do. I have found so far that Zen Cart is close to what I need, but finding the additional add-ons that I need and installing them and actually getting them to run correctly is a super big pain.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Quote:
Originally Posted by
dancingbay
Why is there not any documentation telling what this mod will do. I have found so far that Zen Cart is close to what I need, but finding the additional add-ons that I need and installing them and actually getting them to run correctly is a super big pain.
This isn't commercial software.. Add-ons are shared for free by community volunteers.. Most contain some documentation, and there's o reason why you can't download the add-on to view the documentation.. So to answer your question, I don't know "Why is there not any documentation telling what this mod will do". I don't know that there ISN'T any such documentation. The add-on description and/or the readme that comes with the add-on are the usual places to get this info..
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I added the Dynamic Drop Down for Stock by Attributes add on. When you use it all variations are combined for the product. For example if you have a product called shirts and you have multiple options defined for the sizes small, medium, large and you want one small and one medium it only creates one line in the cart representing 2 Shirts.
Has anyone else solved this problem?
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I modified the present version uploaded in Feb, 2013, by DrByte. One thing had been left out - if you were using a database table prefix then you would be getting the sql error message.
This does work on 1.3.9 - just installed it and should also work on 1.5.x, thanks to DrByte's work earlier this year.
I just uploaded it to contributions so keep an eye out for the fixed version.
In a nutshell,
2 files: pad_multiple_dropdowns.php and pad_sequenced_dropdowns.php both needed to be
. TABLE_PRODUCTS_STOCK .
changed to
. DB_PREFIX. TABLE_PRODUCTS_STOCK .
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Actually, the fix would be:
/includes/extra_datafiles/dynamicdropdownsforsba.php
and change:
Code:
if (!defined('TABLE_PRODUCTS_STOCK')) define('TABLE_PRODUCTS_STOCK', DB_PREFIX . 'products_with_attributes_stock');
so that the original define is correct ...
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
The define did not have the db_prefix in it.
Php failed me to put it into the define file - thanks!
I'll make that fix and upload that.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
I have made the correction as Ajeh suggested and will be uploading this set of files shortly to the plugin section. So I've removed the DB_PREFIX. from the pad_multiple_dropdowns.php and pad_sequenced_dropdowns.php and added it to the extra datafile of dynamicdropdownsforsba.php
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Has anyone run into problems with sale or special pricing and the dynamic dropdowns? We're seeing the sale pricing aren't reflected in the dropdowns.
-
Re: Problems with addon: Dynamic Drop Downs for Stock By Attribute
Has anyone gotten this module to work with Attribute image replaces main product image on selection? There seems to be some incompatibility with the includes/templates/override/templates/tpl_modules_attributes.php. I can get either this module or the Attribute image replaces main product image on selection module to work, but not together. I would appreciate any input or help :smile:
Thanks,
Anne