Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Master Products - MS2


2398 replies to this topic

#1541 thelooksalon

  • Community Member
  • 28 posts
  • Real Name:not telling

Posted 10 August 2006, 16:13

Another question, How do I make it so the slave products don't come up when someone does a search on my site?

#1542 aboyz

  • Community Member
  • 297 posts
  • Real Name:David Lee

Posted 11 August 2006, 02:42

Can someone give me a few pointer. Right now, I'm download the master product here
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 thelooksalon

  • Community Member
  • 28 posts
  • Real Name:not telling

Posted 11 August 2006, 06:56

I believe you would just Set the redboot as the master product. then make 3 slaves, one for size 5, one size 6, and one size 7. When you make the slaves, just input how many you have in stock and it should work.

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 thelooksalon

  • Community Member
  • 28 posts
  • Real Name:not telling

Posted 12 August 2006, 15:41

Well I have been toying with it and have not come up with any answers. I checked the configuration in admin panel under Slave and found nothing to change.

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 spark9990

  • Community Member
  • 4 posts
  • Real Name:spark9990

Posted 13 August 2006, 00:13

hi,

i need some help. i cant seem to make my master product downloadable.

my slave products are fine, they all download.


any ideas?

#1546 jeff.kramb@gmail.com

  • Community Member
  • 8 posts
  • Real Name:Jeff Kramb

Posted 15 August 2006, 21:33

Can someone help me out here. In the Admin side, with MP v2 installed, when trying to insert or update NON Master items, I get the error

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 Njuwdaij

  • Community Member
  • 109 posts
  • Real Name:Jeannette

Posted 16 August 2006, 17:46

Hi,

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 Plascual

  • Community Member
  • 41 posts
  • Real Name:Pascal
  • Location:Canada

Posted 23 August 2006, 05:51

View Postdwx, on Aug 19 2005, 06:12 AM, said:

i'm trying to get product_info.php to display 2 slave product colum values in a ROW format instead of the column format.

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 Plascual

  • Community Member
  • 41 posts
  • Real Name:Pascal
  • Location:Canada

Posted 24 August 2006, 01:41

View PostPlascual, on Aug 23 2006, 01:51 AM, said:

Hi!
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 Astonished Man

  • Community Member
  • 17 posts
  • Real Name:Keith Alexis

Posted 24 August 2006, 15:48

I think this contribution is a perfect solution to what I need to do. I've read all through this thread and am a little confused as to what the latest version is. I have the latest osc and don't want to add a contrib that doesn't work with it.

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 Sierrab

  • Community Member
  • 290 posts
  • Real Name:Steve Brickle
  • Location:Biarritz, France

Posted 24 August 2006, 16:03

View PostAstonished Man, on Aug 24 2006, 05:48 PM, said:

I think this contribution is a perfect solution to what I need to do. I've read all through this thread and am a little confused as to what the latest version is. I have the latest osc and don't want to add a contrib that doesn't work with it.

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?
Ver 2 was discontinued by the powers that be and Matt its author has joined the list of the BANNED

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 Astonished Man

  • Community Member
  • 17 posts
  • Real Name:Keith Alexis

Posted 24 August 2006, 16:29

Thanks for the quick reply. I was only worried about 1.15 because it is a year and a half old so I didn't know if it had any issues with the newest osc.

I have downloaded it along with Rev4 and some of the other addons.

Thanks Steve.

ps ... Wow. Banned? What did he do?

#1553 ozstar

  • Community Member
  • 515 posts
  • Real Name:David
  • Gender:Male
  • Location:Sydney OZ

Posted 25 August 2006, 11:22

Hi,

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 shop-robban

  • Community Member
  • 8 posts
  • Real Name:Robert Karlsson

Posted 27 August 2006, 18:33

Hello,

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 petercascio

  • Community Member
  • 115 posts
  • Real Name:Peter Cascio

Posted 27 August 2006, 19:24

View Postshop-robban, on Aug 27 2006, 02:33 PM, said:

Hello,

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... :blush:

#1556 petercascio

  • Community Member
  • 115 posts
  • Real Name:Peter Cascio

Posted 27 August 2006, 19:30

Has anyone been able to make Master Products work with Quantity Price Breaks Per Product?

They seem to be incompatible in product_info.php.

#1557 shop-robban

  • Community Member
  • 8 posts
  • Real Name:Robert Karlsson

Posted 27 August 2006, 20:50

View Postpetercascio, on Aug 27 2006, 07:24 PM, said:

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... :blush:
I have searched for the fix but I canīt find it. I think other persons will get this problem too so it would be great to write the solution so it is easier to find.

#1558 petercascio

  • Community Member
  • 115 posts
  • Real Name:Peter Cascio

Posted 28 August 2006, 13:50

View Postshop-robban, on Aug 27 2006, 04:50 PM, said:

I have searched for the fix but I canīt find it. I think other persons will get this problem too so it would be great to write the solution so it is easier to find.

The fix is contained in the 'Master Products Attributes Add-on Rev4' contribution at http://www.oscommerce.com/community/contributions,1681/

#1559 petercascio

  • Community Member
  • 115 posts
  • Real Name:Peter Cascio

Posted 28 August 2006, 14:53

I messed up badly somewhere.

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 aboyz

  • Community Member
  • 297 posts
  • Real Name:David Lee

Posted 28 August 2006, 17:10

I installed master product v2. I tested it and some part are not working. Anyone got any solution to this, Am I missing some step in the installation. Please advise.

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