Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2006
    Location
    Cambridge, Ontario, Canada
    Posts
    44
    Plugin Contributions
    0

    Default Deleting Linked Items

    I have linked a whole categiory too run a monthly special, and now I am looking at how I can remove the links from my monthly category but leave them in the Main categroy.

    So far I am de;eteing these one at a time but there are ove 1000 items in my monthly special.

    David moody

    www.magneticgems.com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Deleting Linked Items

    If you want to remove all 927 Products from Category for Monthly Specials (categories_id 108) and you are Positive all of these products are in other Categories ...

    Consider these questions carefully:

    1 Is the Monthly Specials categories_id 108 also the master_categories_id on these products?

    2 Is this the *only* group of Products that are Linked Products? Or do you have other Categories that contain Linked Products?

    3 How many Categories do the 927 Linked Products come from? As in is this easy to say from "these 3 Categories"? Or would you say from "tons and tons and tons of Categories"
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2006
    Location
    Cambridge, Ontario, Canada
    Posts
    44
    Plugin Contributions
    0

    Default Re: Deleting Linked Items

    The Monthly Special is not the Master Catogie for these iy=tems the Master is Gift Shop Itilan Charms, and the specials are only from that cat. Yes I do have other linked items as well but not in teh 2 catogiers mentioned.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Deleting Linked Items

    Providing none of these Products use the Monthly Special categories_id 108 for your site ...

    1 Backup your database

    2 See 1

    3 Run the following in the Tools ... Insert SQL Patches ...

    PHP Code:
    DELETE from products_to_categories where categories_id=108
    *poof* all done ... hours and hours and hours of time saved ... and don't forget how much coffee you saved ...

    NOTE: You did backup your database before running that command ... right?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Deleting Linked Items

    Also ... for the bold and daring ... *after* making a database backup ...

    If you click the C on one of these Products at the bottom is the Multiple Products Link Manager ...

    In there is a nice little featuer I added for:
    Remove ALL Products in a Category that are LINKED Products to another Category ...
    Example: Using 8 and 22 would Unlink ALL Products in Category 8 from Category 22
    Select All Products in Category: Remove from being Linked to Category:
    *IF* none of the Products are set with the master_categories_id to the Category you want to remove them from ... you can use this to perform this same task ...

    NOTE: backups and test sites are a wonderful thing to learn about new toys and features you know nothing about ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v155 Unable to deselect master category when deleting a linked product
    By mc12345678 in forum General Questions
    Replies: 0
    Last Post: 20 May 2016, 11:52 AM
  2. Manufacturers Dropdown Items Linked To Featured Items?
    By macentyre2000 in forum General Questions
    Replies: 3
    Last Post: 8 Oct 2009, 10:39 PM
  3. Deleting a catagory with linked products
    By milobloom in forum General Questions
    Replies: 0
    Last Post: 17 Sep 2007, 07:40 PM
  4. Deleting Items
    By apinkpony11 in forum General Questions
    Replies: 3
    Last Post: 14 Aug 2006, 06:47 PM
  5. Linked images, Home category, Deleting products
    By sixlizards in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Jun 2006, 07:28 PM

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