Master Products - MS2
#1541
Posted 10 August 2006, 16:13
#1542
Posted 11 August 2006, 02:42
http://www.oscommerce.com/community/contributions,1681
Master Products - 1.1.5
Master Products Attributes Add-on Rev4
Those are the two i installed do i need to install
Master Product Slave Attributes
Is there a howto or can someone help me out. Walk me thru how to get this done.
What I want to do is this.
I sell shoes.
RED BOOT (main boot)
What i want to do is under RED BOOT, i want to have size
RED BOOT size 5 = 5 quantity
RED BOOT size 6 = 10 quantity
RED BOOT size 7 = 5 quantity
So when a customer click on the RED BOOT and choose say size5 and check out
it'll deduct it from
RED BOOT size 5 = 4 quanity left
say RED BOOT size 5 = 0 quantity, customer can't order this no more.
Can someone walk me thru how to do this.
thanks
#1543
Posted 11 August 2006, 06:56
Anyone know how to make it so the slave products don't come up in search? I turned them off so they don't show up in categories, but you can still find them by using the search option.
#1544
Posted 12 August 2006, 15:41
I don't want my slave products to show up when someone does a search for them
I also don't want the link in shopping cart to go to the slave product, I want it to go to the Master product its tied too. Anyone have any ideas?
#1545
Posted 13 August 2006, 00:13
i need some help. i cant seem to make my master product downloadable.
my slave products are fine, they all download.
any ideas?
#1546
Posted 15 August 2006, 21:33
1366 - Incorrect integer value: '' for column 'products_master_status' at row 1
insert into products (products_quantity, products_model, products_price, products_date_available, products_weight, products_status, products_master, products_master_status, products_listing_status, products_bundle_status, products_tax_class_id, manufacturers_id, products_date_added) values ('1', 'jk668AceHkBlkM', '125.99', null, '3', '1', '5', '', '0', '', '1', '1', now())
Now I understand that it is being triggered because the database field doesnt accept NULL values, and the insert statement is trying to insert a couple NULLs in there. I cant for the life of me figure out WHY though. Why is the check box for for making a product just a normal item (non master) not returning a value for 'products_master_status' field? When it is checked it returns '1', but when it isnt, it just is ''.
Has anyone else had this problem? Im using php 5.1.4, mysql5, and IIS6.
#1547
Posted 16 August 2006, 17:46
I am having the problem that my slave products do not hide.
Does anybody have a solution for this?
I am running mySQL 4.1 so that should not be the problem (I understood there could be problems when you are running 5.0, but thats not the case)
What should I do to make the slaves invisible in the productlisting/ newproducts and specials?
I DID change the product listing display to "do not show" in the admin, but all the slaves are still showing...
Jeannette
Edited by Njuwdaij, 16 August 2006, 17:47.
#1548
Posted 23 August 2006, 05:51
dwx, on Aug 19 2005, 06:12 AM, said:
eg:
How slave products currently display by default.
SLAVE PRODUCT 1 | PRICE: $10 | DESCRIPTION | OTHERINFO
SLAVE PRODUCT 2 | PRICE: $10 | DESCRIPTION | OTHERINFO
How i want it to display:
SLAVE PRODUCT 1
PRICE $10
DESCRIPTION
OTHERINFO
- page break of some sort -
SLAVE PRODUCT 2
PRICE $10
DESCRIPTION
OTHERINFO
I believe there will need to be alot of messing about with master_listing and master_products. Can someone possibly give me the quickest and easiest way to achieve this extra row listing format. Cheers!
Hi!
I would like to do that too... I tried to modify master_listing.php without success. Anybody got a solution?
#1549
Posted 24 August 2006, 01:41
Plascual, on Aug 23 2006, 01:51 AM, said:
I would like to do that too... I tried to modify master_listing.php without success. Anybody got a solution?
I searched all over the net, I found many question (from 2005 and before) that are still unanswered.
I finally found out by myself... and I would like to share it. I decided not to package it, because it is too much related to what each one wants to display. I think it is not complete, but it works... I hope I will help someone!
First, it is to create a key in Admin Panel>Configuration>Slave Products that you can call "Display Custom Layout Column". Then you will be able to position it as you want. Here is an SQL example (be careful to change the configuration group, here 17, to suit your Slave Product configuration group) :
INSERT INTO configuration VALUES ('', 'Display Custom Layout Column', 'MASTER_LIST_CUSTOM', '0', 'Do you wish to display your custom layout column (master_listing.php) ?', 17, 13, '2006-08-23 11:19:53', '2006-08-23 11:19:53', NULL, 'NULL');
In catalog/includes/modules/master_product.php look for:
$slave_list = array('MASTER_LIST_MODEL' => MASTER_LIST_MODEL,
Then add below:
'MASTER_LIST_CUSTOM' => MASTER_LIST_CUSTOM,
In catalog/includes/modules/master_product.php look for:
for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {
switch ($column_list[$i]) {
Then add below (this is an example, you can add all search query that follow in the switch case... for my purpose I only added p.products_model, pd.products_name and pd.products_description):
case 'MASTER_LIST_CUSTOM': $select_column_list .= 'p.products_model, pd.products_name, pd.products_description,'; break;
In catalog/includes/modules/master_listing.php look for:
switch ($column_list[$col]) {
Then add below (this is an example too, modify to suit your needs):
case 'MASTER_LIST_CUSTOM':
$lc_align = 'left';
$lc_text = '<b>' . $listing['products_name'] . '</b> (' . $listing['products_model'] . ')<br>' . osc_trunc_string(strip_tags($listing['products_description'], '<a><b><em><font><i><s><span><strong><sub><sup><u>'), MASTER_LIST_DESCRIPTION_LENGTH);
break;
Then, go in your Admin Panel>Configuration>Slave Products and choose order to display the columns along with your new "custom column"...
Voilā!
#1550
Posted 24 August 2006, 15:48
I've read of a v2.00 but the thread that was supposed to have it was a dead link. I read another post about Rev4 being the latest but there are some things posted above Rev4. I downloaded the latest post and it was just an add on.
Does anyone know where to get v2.00?
#1551
Posted 24 August 2006, 16:03
Astonished Man, on Aug 24 2006, 05:48 PM, said:
I've read of a v2.00 but the thread that was supposed to have it was a dead link. I read another post about Rev4 being the latest but there are some things posted above Rev4. I downloaded the latest post and it was just an add on.
Does anyone know where to get v2.00?
I am still using 1.15 with the Rev 4 fix which works perfectly fine.
I have a copy of 2 but I think it still needs a tweak or two to get it to the standard of the above combination and as yet I haven't had the time to do it
Steve
Edited by Sierrab, 24 August 2006, 16:04.
#1552
Posted 24 August 2006, 16:29
I have downloaded it along with Rev4 and some of the other addons.
Thanks Steve.
ps ... Wow. Banned? What did he do?
#1553
Posted 25 August 2006, 11:22
I am looking forwartd to set up Master Products on a music download site but I was leaving it until I had osplayer set up.
I got osplayer working in a clean no contrib oscommerce site but decided to try it also with another osc version which used the STS template system.
This time osplayer works fine in the Admin side but I cannot even get the player seen in the catalog side. The code is copied correctly as I have triple checked it carefully.
I can only think it does not work because of something to do with the STS templates.
So I can get it happening to get into the Master Products, is there anyone who has osplyer wortking with the STS tempalte system?
Any help would be appreciated as it has burnt up 3 days so far of contact experimenting with code all to no avail.
Thanks in anticipation.
Oz
#1554
Posted 27 August 2006, 18:33
I have just installed Master products and everything seems to work alright except that all the products that I had before I installed Master products now have a dropdown menu. I would like to have a input field. I have fixed this at the slaves so the problem are only at the master products that donīt have any slaves.
I have searched about this in the forum but I canīt find any solution.
I would be very glad for a solution.
//
Robert from Sweden
#1555
Posted 27 August 2006, 19:24
shop-robban, on Aug 27 2006, 02:33 PM, said:
I have just installed Master products and everything seems to work alright except that all the products that I had before I installed Master products now have a dropdown menu. I would like to have a input field. I have fixed this at the slaves so the problem are only at the master products that donīt have any slaves.
I have searched about this in the forum but I canīt find any solution.
I would be very glad for a solution.
//
Robert from Sweden
Matti "Johnson" posted a fix for this quite early on and I saw it a couple of days ago in this forum though I can't quite remember how I found it...
#1556
Posted 27 August 2006, 19:30
They seem to be incompatible in product_info.php.
#1557
Posted 27 August 2006, 20:50
petercascio, on Aug 27 2006, 07:24 PM, said:
#1558
Posted 28 August 2006, 13:50
shop-robban, on Aug 27 2006, 04:50 PM, said:
The fix is contained in the 'Master Products Attributes Add-on Rev4' contribution at http://www.oscommerce.com/community/contributions,1681/
#1559
Posted 28 August 2006, 14:53
Slaves are now being added to every purchase -- even when not selected and even when I put '0' in the quantity box for the slaves!
When I put in a quantity larger than 0 the correct number ends up in the shopping cart.
Any idea where I should start looking?
#1560
Posted 28 August 2006, 17:10
First is that slave product are not being hidden, when i select hide product in the admin area.
Second, is when you select one of the slave product to buy now. It doesn't check out the slave product name, instead it just check it out as the master product name. I think i'm missing a line somewhere.
Can someone help me out.
thanks














