Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    10
    Plugin Contributions
    0

    Default copied products to different category / display on copied products info page

    hello

    We are a CD music retailer who are about to start selling MP3 as well In some cases will will be selling a CD and MP3 of the same release.

    Instead of a dropdown attribute we chose to have every product have it's own ID. In most cases we are copying CDs from the Compact Disc category to an MP3 category so they can keep the same model number and audio samples.

    The one thing i am having a bit of trouble with is i would like to link to the same release's other formats. For example: if you are on a CD's page it would say "this release is also available as MP3" and vice versa.

    We also need it to be dynamic to require no data entry like a xsell or the multixsell addons

    i've searched around in the forums and faq for something like this and did not find much. I then started writing my own module but I seem to be caught up at an early stage as the query is not returning a result.

    PHP Code:
     $format_query $db->Execute("select pc.categories_id, p.products_id, p.products_model, p.products_image, pd.products_name
                                     from "
    TABLE_PRODUCTS_TO_CATEGORIES ." pc,  " TABLE_PRODUCTS " p, " TABLE_PRODUCTS_DESCRIPTION " pd
                                     where p.products_model = '" 
    $_GET['products_model'] . "'
                                      and p.products_id <> '" 
    $_GET['products_id'] . "'"); 
    Even though this is a rather esoteric addon i am working on i would like to offer it to the community once i get it finished.

    Any help would be much MUCH appreciated

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: copied products to different category / display on copied products info page

    Quote Originally Posted by Cadoo View Post
    Instead of a dropdown attribute we chose to have every product have it's own ID. In most cases we are copying CDs from the Compact Disc category to an MP3 category so they can keep the same model number and audio samples.
    Can't help with the code, and I'm not sure exactly what the above means, but if the MP3's are separate products, could you just code a link to the MP3 into the CD product description ?

 

 

Similar Threads

  1. Replies: 6
    Last Post: 25 Mar 2012, 08:40 PM
  2. Different 'Product info page' layouts for different products
    By DML73 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Aug 2009, 02:52 PM
  3. HELP! Client accidentally copied product attribute to category
    By newagekat in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Jul 2009, 11:09 AM
  4. Different product info display page for each category
    By pjb923 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Sep 2008, 07:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg