osCmax v2.5 User Manual
Results 1 to 4 of 4

duplicating products in same folder?

This is a discussion on duplicating products in same folder? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Is there a way to duplicate a product within the same product folder on the fly. I get an sql ...

      
  1. #1
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Question duplicating products in same folder?

    Is there a way to duplicate a product within the same product folder on the fly. I get an sql error for trying to do it initially.

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: duplicating products in same folder?

    Coincidently, I spotted that today - seems there's a rogue 0 being entered in the SQL statement in admin/categories.php around line 437 (near the end of the line). Was going to fix but have been doing loads of other stuff to the same file (which didn't work), so need a break, for now. Later.

    Try removing
    Code:
    '0',
    Post the error statement for a better guess
    Last edited by ridexbuilder; 12-10-2009 at 07:52 AM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    Senior Member blackhawk's Avatar
    Join Date
    Aug 2009
    Location
    indiana
    Posts
    640
    Blog Entries
    1
    Rep Power
    27


    Default Re: duplicating products in same folder?

    oddly enough i have it partially fixed, I had a quote missing on one of my sql value fields. The issue still arises when I try to duplicate what I just duplicated. Give it a shot. Just doesnt work for me. I have a feeling it has to do with the date the product was added , or modified. it sets it to "00000:000:0000" - but i don't know if thats the core reason - still investigating but not that big of a deal at the moment.

  4. #4
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default Re: duplicating products in same folder?

    Are you getting the error on the products table or products description? The date added should be now and the other dates should come up null. Make sure your fields match your values in count and order. If one is missing or out of order it's a problem.

    I started to fix this a long time ago and forgot about it until I read this thread. I basically had it working on my live site but a couple values were crossed. The '0' at the end of the statement is correct as it is the products viewed number. I think you're missing a value but post your error and if you want that section of your file.

    This is actually the first time I've had the duplicate work correctly since 2002, but now I don't really need it.
    John

Similar Threads

  1. Categories and Products Images Folder Tree
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-29-2008, 07:02 AM
  2. Categories and Products Images Folder Tree
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-01-2008, 03:01 PM
  3. Categories and Products Images Folder Tree
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-01-2008, 02:14 PM
  4. Easy populate duplicating product when making changes
    By trap in forum osCMax v1.7 General Mods Discussion
    Replies: 2
    Last Post: 07-26-2005, 04:57 AM
  5. Easy Populate is duplicating categories
    By icecold in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-15-2003, 06:25 PM

Bookmarks

Posting Permissions

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