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