Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2009
    Posts
    15
    Plugin Contributions
    0

    Default Bulk Character Strip from Product Model Field

    I have some 500 products where the v_products_model field needs to be changed. Currently all of this particular type of product is pre-fixed with "XOAR-XXXXXXX", I need to strip the "A" from each of these particular products setting the v_products_model field to "XOR-XXXXXXX".

    I hope there is an sql command line that can be run on the database to do this, can anyone help please.

    Thanks

  2. #2
    Join Date
    Feb 2012
    Location
    Ohio, USA
    Posts
    58
    Plugin Contributions
    0

    Default Re: Bulk Character Strip from Product Model Field

    If you're using Apsona or Easy Populate...this is easy.

    1. Export your products to the CSV in either mod.
    2. Open the spreadsheet in Open Office or Excel
    3. Use the "Find & Replace" function to find "XOAR" and replace with "XOR"
    4. Save as CSV, then re-upload.
    5. Using Apsona, choose "update product info" when importing. (I don't use EP, so I don't know the specific option, but it should be similar.

    I hope that helps.

    John

  3. #3
    Join Date
    Feb 2012
    Location
    Ohio, USA
    Posts
    58
    Plugin Contributions
    0

    Default Re: Bulk Character Strip from Product Model Field

    Mach,

    I hit "enter" too soon. I just thought of something. I think I read somewhere in one of these posts that Apsona and EP might "key" or "index" from the model number field. If this is the case, you may run into issues with what I posted above.

    Best to wait until someone with more experience pipes up My way might cause you more problems than you need. I've used the search & replace alot without problems, but never on model number.

    Cheers.

    John

  4. #4
    Join Date
    Feb 2012
    Location
    Ohio, USA
    Posts
    58
    Plugin Contributions
    0

    Default Re: Bulk Character Strip from Product Model Field

    Mach,
    I was right (wrong)! Don't use my method. Lol. You'll end up with 500 new items.

    I found this thread, though, that might interest you:
    http://www.zen-cart.com/forum/showthread.php?t=183306

    J

 

 

Similar Threads

  1. Increase Products Model character limit when adding a new product.
    By gloerick in forum Customization from the Admin
    Replies: 3
    Last Post: 27 Feb 2012, 06:54 PM
  2. Best way to bulk change product model?
    By divinelighting in forum General Questions
    Replies: 3
    Last Post: 23 Jul 2011, 08:47 PM
  3. SEO URLs - how to strip HTML tags from product names?
    By gregy1403 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Sep 2010, 04:31 PM
  4. Widen "Product Model" field from Category Page
    By harry2cool in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 14 May 2007, 11:21 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