Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Editing sitewide product data after migration

    Migrated all my product data over from an older version of ZC. The designer before me built all of the additional product info within tables with the TonyMCE editor. So what I'm trying to do is search my site using dreamweaver's find and replace tool to find all of the <table width="45%" and change it to 100%.

    It's really just a work around until I install Additional Product fields plugin.

    So I guess I just need to know where ZC stores the product data (inside the db?) so I can find all the table widths and change them up.

    Pretty much I'm thinking the HTML is located inside the db.

    Hope this makes sense.

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Editing sitewide product data after migration

    We really need to see the site live to be able to advise correctly.

    If I was to guess I would say look in:
    /includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Editing sitewide product data after migration

    rbarbour's advice may be correct, if the width is being set in ZC's PHP code. But if I'm reading your question right, the 45% width was actually manually inserted into every product description. To check if that's so, go into admin/Catalog/Categories / Products and select a product to Edit. If you see that 45% width code in the description field, then yes, it's all stored in the database. In which case you will need to write a SQL command to change it all to 100%. And at that point I run for the hills. Someone else who is handy with SQL will have to advise further.

    Rob

  4. #4
    Join Date
    Jan 2012
    Posts
    62
    Plugin Contributions
    0

    Default Re: Editing sitewide product data after migration

    Quote Originally Posted by rstevenson View Post
    rbarbour's advice may be correct, if the width is being set in ZC's PHP code. But if I'm reading your question right, the 45% width was actually manually inserted into every product description. To check if that's so, go into admin/Catalog/Categories / Products and select a product to Edit. If you see that 45% width code in the description field, then yes, it's all stored in the database. In which case you will need to write a SQL command to change it all to 100%. And at that point I run for the hills. Someone else who is handy with SQL will have to advise further.

    Rob
    that's exactly what I was thinking. I guess I'll have to buy that MySQL book...

 

 

Similar Threads

  1. Editing Product Loses Data
    By cslynch22 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 14 Mar 2011, 02:38 PM
  2. Product data lost after editing
    By cdjohn31 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 25 Feb 2011, 08:41 PM
  3. Editing product data in the specials page
    By Snype in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Apr 2009, 02:28 PM
  4. Images do not show in product page after migration
    By jc307 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 18 Apr 2007, 05:15 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