Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Only show certain items in store


mr_dave

Recommended Posts

I am making a store that is going to sell both single mp3s as well as full albums. I know that if I want to do this, each mp3 needs to be entered as a product, but I only want to show the full album & then have the option for buying the single mp3 in the description for that album.

 

How can I have the single mp3s as products so they can be added to the shopping cart like the albums, and yet only have them appear in the corresponding album description? I have done a few searches to try & find an answer, but not sure what I should search for, or if anyone has even wanted this type of functionality.

 

Here is the layout I have so far to give an idea of what I am looking for, though the Buy buttons obviously do not work yet.

 

Thanks in advance. :blush:

Link to comment
Share on other sites

You can do it using product attributes, but they'd only be able to put one mp3 into their cart at a time. Set up options with the name of the album, and then each individual track would be one of your values. e.g. my store has "format" as an option and then multiple values like CD, Cassette, LP. Yours would have "Best Album Ever" and then mutliple values of "track 1," "track 2" etc.

Link to comment
Share on other sites

You can do it using product attributes, but they'd only be able to put one mp3 into their cart at a time. Set up options with the name of the album, and then each individual track would be one of your values. e.g. my store has "format" as an option and then multiple values like CD, Cassette, LP. Yours would have "Best Album Ever" and then mutliple values of "track 1," "track 2" etc.

I'll have to try that out.

 

Thanks!

Link to comment
Share on other sites

How can I have the single mp3s as products so they can be added to the shopping cart like the albums, and yet only have them appear in the corresponding album description?

You could use Master Products for that. I think there is also a similar contribution like that (Wolfen's featured set perhaps?).

Link to comment
Share on other sites

You could use Master Products for that. I think there is also a similar contribution like that (Wolfen's featured set perhaps?).

The Master Products looks like what I need. However, I installed it and though it labels products in the admin as master & slave, it still shows the slave products in the New Products area (something I definitely don't want.)

 

In the product info area something is getting jacked where I think the Buy button and the slave items are supposed to appear. This message appears:

-----

TEXT_STOCK (I think this is where the Buy button for the master appears?)

 

This product was added to our catalog on Wednesday 23 May, 2007.

 

TEXT_SLAVE_PRODUCTS (This is where the slave items get listed?)

 

Warning: main(includes/modules/FILENAME_MASTER_PRODUCTS): failed to open stream: No such file or directory in /hsphere/local/home/mcmftpad/mediacreaturestore.com/catalog/product_info.php on line 271

 

Warning: main(includes/modules/FILENAME_MASTER_PRODUCTS): failed to open stream: No such file or directory in /hsphere/local/home/mcmftpad/mediacreaturestore.com/catalog/product_info.php on line 271

 

Warning: main(): Failed opening 'includes/modules/FILENAME_MASTER_PRODUCTS' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/mcmftpad/mediacreaturestore.com/catalog/product_info.php on line 271

-----

I'm a newb when it comes to PHP & databases, so any insight is greatly appreciated.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...