Master Products - MS2
#2121
Posted 18 September 2009, 09:01
I think it is a limitation in the SQL database. Got to Phpmyadmin :
in the "products" table, modifiy the "products_master" type with more characters than 50
be sure to backup before.
you can put VARCHAR 512 for example.
Try it and let me know!
Seb
#2122
Posted 18 September 2009, 09:30
concorde44, on Sep 18 2009, 10:01 AM, said:
I think it is a limitation in the SQL database. Got to Phpmyadmin :
in the "products" table, modifiy the "products_master" type with more characters than 50
be sure to backup before.
you can put VARCHAR 512 for example.
Try it and let me know!
Seb
Seb,
Again... Works like a charm.. I think the max is 255..
You just saved me hours of creating multiple masters!
Many Thanks
#2123
Posted 18 September 2009, 10:37
Happy for you.
Not good at Sql ! But 255 is still low... may be changing the type VARCHAR by Text could be unlimited.
Seb
Edited by concorde44, 18 September 2009, 10:38.
#2124
Posted 22 September 2009, 11:01
concorde44, on Sep 18 2009, 11:37 AM, said:
Happy for you.
Not good at Sql ! But 255 is still low... may be changing the type VARCHAR by Text could be unlimited.
Seb
Hey Seb,
Thanks for your help on this. I don't suppose you know how to hide slaves from search result page?
I Can hide them on the category pages but they are still appearing in the the search results.
Any Ideas?
#2125
Posted 29 September 2009, 21:49
Top Rasta, on Jan 27 2006, 11:52 AM, said:
I am using digital music downloads for this example here. Actually it's not too difficult depending on how you have stuff set up. What I did is have 2 separate forms on the product_info.php page each with it's own add to cart button.
One to post the Master Product (e.g. if you have an album and just want to add the album)
The second to post the Slave Products (e.g if you want to select just a couple of tracks from the album)
To allow only one Product to be bought.
1. The first form around the master product, I have the form pass the default post action of action=add_product (which is the default action in the unmodified Os commerce installation) and I uncomment the lines that draws the pull down menu which is ( tep_draw_pull_down_menu('Qty_ProdId_' . $product_info['products_id'], $qty_array) ; )
To add checkboxes to the Slave products instead of the pull down menu do this.
Resources with information to do this tasks.
1.) The catalog/includes/modules/master_listing.php page builds the Slave Products layout.
2.) The catalog/includes/functions/html_output.php contains the functions to build various form elements from form fields to hidden fields etc.
In the catalog/includes/modules/master_listing.php look for the switch statement with the case " case 'MASTER_LIST_BUY_NOW': " That switch statement builds the pull down menue of the slave listings.
"Comment Out" or delete it and replace it with
case 'MASTER_LIST_BUY_NOW':
$lc_align = 'center';
$lc_valign = 'top';
$lc_text = tep_draw_checkbox_field('Qty_ProdId_' . $listing['products_id'], $value = (int)1);
break;
The important variable is the $lc_text which contains the call to the function located in the catalog/includes/functions/html_output.php page to output a checkbox field.
That's it and you're doen . Have fun.
Investigate the functions in the catalog/includes/functions/html_output.php for other variable you can pass to that function such as have the checkbox checked by default etc.
Hope it helps.
Hi All (particularly Top Rasta if you're still around as this seems to be your area of expertise)
I've got Master Products up and running fine but it seems to be passing over my downloadable products (mp3's) as physical products and therefore the downloads are not available at the end of the process...And it adds shipping!!
I'm a semi newbie at this and can't quite figure out where to look to fix this problem - does anyone have any advice as I'm pulling my hair out over this.
Please, help before I lose what little hair I have left!!
Thanks
Terry
#2126
Posted 03 October 2009, 19:11
Fatal error: Cannot redeclare currencies::display_price() in /mnt/web3/41/72/52142672/htdocs/admin/includes/classes/currencies.php on line 83
#2127
Posted 05 October 2009, 18:44
Big problem with Master Products returning product type as physical rather than virtual.
Been working with oscommerce for some time now and have a vague idea of what's going on. I installed Master Products on my mp3 downloads site for the obvious reason of the option to sell lp's or individual tracks. The only problem is that all Master products are being sent to the shopping cart as physical rather than virtual product and therefore the download links aren't showing and shipping is being added. Does anybody have any idea on how to change the product type being sent to checkout??
I'm using Super Downloads Store too, I'm aware that this may present some problems.
Please, if anyone could help me it would be much appreciated - I've spent days scouring this forum.
Thanks in advance.
Terry
#2128
Posted 08 October 2009, 14:39
#2129
Posted 21 October 2009, 08:23
I have now installed Master Products - MS2, and also find it quite good. However disturbs me that we as a slave assigned products only to buy under the master product and no-longer appears as a standalone product in the catalog. Although now have already get this done now, the slaves re-emerge in the categories, but with a click on the BuyNow button to return lands to the master product.
#2130
Posted 25 October 2009, 20:02
chipo, on 21 October 2009, 08:23, said:
I have now installed Master Products - MS2, and also find it quite good. However disturbs me that we as a slave assigned products only to buy under the master product and no-longer appears as a standalone product in the catalog. Although now have already get this done now, the slaves re-emerge in the categories, but with a click on the BuyNow button to return lands to the master product.
Hi Chipo
I'm having the same problem I need the products to appear as a standalone product as well as a "Slave". Did you manage to fix this?? Does anybody else have any ideas how to work around this??
Thanks
Terry
#2131
Posted 27 October 2009, 03:52
I tried to search, but with the new forum layout searching is ridiculously hard.
#2132
Posted 28 October 2009, 16:18
Terry Mitchell, on 25 October 2009, 20:02, said:
I'm having the same problem I need the products to appear as a standalone product as well as a "Slave". Did you manage to fix this?? Does anybody else have any ideas how to work around this??
Thanks
Terry
Help!
#2133
Posted 01 November 2009, 17:14
Terry Mitchell, on 28 October 2009, 16:18, said:
Help!
#2134
Posted 04 December 2009, 15:37
After installing Master Products I suddenly do not see the result of the AttributeManager (i.e. pull down select box with size/color) in my shopping cart and prices are no longer ajusted.
Is there something special to do when using both these modules to get things to work?
Is there anyone using this who can confirm that this should be working (or has a fix) - version info would be great.
Did I do wrong?
I am using OS Commerce RC2a with Ajax AttributeManager v2.8.7 and Master Products RC2a v1.23
Regards,
Rob
#2135
Posted 12 December 2009, 22:37
I have some products (masters) where the slaves have atributes and I have some other products (masters) where the slaves do not have atributes.
At the present moment, the slaves listings on product_info.php shows "Option" in all products whether they have atributes or not.
I would like the "Options" listing to show ONLY if slaves have atributes....
Any suggestions on how to do that?
thanks!
Ricardo
#2136
Posted 15 December 2009, 13:31
the master module introduces a new function into osCommerce that (I think) has nothing to do with the master module itself.
Suddenly I get a pull-down box where the customer may select the number of items to buy, on the left side of this box the text "TEXT_QUANTITY" is show.
Why is this done? Why is there no define() for this text done by Master Products?
And why is this a pull-down box - and not as I see it on many other systems a field where I can type a number (like in the shopping cart).
Btw: Is there any support on this module ? The installation manual mentions this thread as the "the oficial suport thread" (typos are in the manual
Does anyone feel responsible for this module ??? Apparently Johnson (the original author) bailed out ...
Rob
Edited by Rob65, 15 December 2009, 13:38.
#2137
Posted 15 December 2009, 16:23
I tried to use the Simple Template System together with the Master Products modules.
It seems that this is not working correctly.
Suddenly my content field stops half-way during parsing of the product_info.php file.
In product_info.php a form (buy_now_) is created and the simple template system stops parsing the file after the </form> (it seems).
As soon as I revert back to the previous version of my webshop without Master Products, parsing is OK.
Rob
#2138
Posted 16 December 2009, 08:49
did a full reinstall of osCommerce RC2a including the Ajax Attribute Manager, FCK Editor, QT-Pro, Ship2Pay, Ultimate SEO, Ultra Pics, Simple Template System and the Master Products Module (took me almost all night ...).
Everything works except .... Master Products.
With the Master Products added the simple template is not working properly anymore (suddenly the files are only parsed to half way the file), I get some extra fields for free (that are not part of Master Products) and the attributes that I add to products do not show up in my shopping cart.
Also, 'slave' products do not appear as separate selectable products in the catalog but they do show up in the "new products" window - from where I can select and buy this as a separate product.
I a sorry but it looks I have to tell the customer that I have to remove the whole Master Products module and search for another option. There are just too many problems with the Master Products module to solve for me.
A whole week of data entry lost ...
Rob
#2139
Posted 11 January 2010, 01:46
I followed the instructions for RC2 but I am getting a few errors. First, in the admin section, when I click on a product I get
Warning: reset(): Passed variable is not an array or object in /path/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /path/admin/includes/classes/object_info.php on line 18
Also, the item's information is completely missing from the page. It just shows empty text fields.
On the product info pages, the tables are out of whack.
I am running a fairly clean version of RC2 but it has Ultimate SEO URLs installed, and it has STS. Any help would be appreciated.
#2140
Posted 11 January 2010, 02:35














