Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to change product attribute for order placed?

    If you backup your database ...

    Go to phpMyAdmin ...

    Look at the structure of the orders_products_attributes table ...

    Edit the field products_options_values and change from BLOB to TEXT ...

    NOTE: I have not tested this 100% but at the moment I am not seeing any reason that this would not work for you so that you have a large field capable of holding anything that the products_options_values could hold before but this lets you view it in phpMyAdmin ...

    I have to chew on this a bit and consider if there is any reason why this couldn't be changed this way ...

    NOTE: you may wish to use a test site and test database and make the change on there and then conduct a lot of tests and examin your old data and see if you see anything obvious that might be moofed up ...

    But, like I say, I don't think this will be an issue ... but again I have not tested it 100% ...
    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!

  2. #12
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: How to change product attribute for order placed?

    what was the reasoning for changing it in the first place from text to blob? Just curious, trying to learn.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

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

    Default Re: How to change product attribute for order placed?

    It was way too small original because of all that field has to manage ... varchar(64)

    So some "bright elf" got the idea that making it a BLOB was ideal so that "anything and everything" we may want to do with that field not and in the future would work and not have to be changed again and again ...

    Unfortunately ... I didn't think about the fact you guys might want to browse the raw database and look at the raw data via phpMyAdmin ...

    Gonna have to rethink the BLOBs ... I should of know after watching the movie ... you don't want to go there ...
    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!

  4. #14
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: How to change product attribute for order placed?

    Thanks for the explanation......also i'm now gonna have nightmares like I did when I was 5 (when the BLOB was colorized) Thanks
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

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

    Default Re: How to change product attribute for order placed?

    See? and you wonder why I work late at night ... I saw the black and white then colorized the same night ...
    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!

  6. #16
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: How to change product attribute for order placed?

    shivers, turns on all of the lights and locks the doors
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #17
    Join Date
    Feb 2005
    Posts
    17
    Plugin Contributions
    0

    Default Re: How to change product attribute for order placed?

    You've scared my monkey, but answered my question. Thanks!

  8. #18
    Join Date
    Jan 2005
    Location
    Minneapolis MN, USA
    Posts
    136
    Plugin Contributions
    1

    Default Re: How to change product attribute for order placed?

    Quote Originally Posted by Ajeh View Post
    If you backup your database ...

    Go to phpMyAdmin ...

    Look at the structure of the orders_products_attributes table ...

    Edit the field products_options_values and change from BLOB to TEXT ...

    NOTE: I have not tested this 100% but at the moment I am not seeing any reason that this would not work for you so that you have a large field capable of holding anything that the products_options_values could hold before but this lets you view it in phpMyAdmin ...

    I have to chew on this a bit and consider if there is any reason why this couldn't be changed this way ...

    NOTE: you may wish to use a test site and test database and make the change on there and then conduct a lot of tests and examin your old data and see if you see anything obvious that might be moofed up ...

    But, like I say, I don't think this will be an issue ... but again I have not tested it 100% ...
    A Question for Linda or Anyone "-)

    I've been testing this -- changed it to text, edited, then changed it back. No problems that I've been able to ferret out.

    Any reason not to do this? I could leave it as text always, but because they can upload files (with potentially longer names) and leave longer comments in a text box (no one has as yet) thought maybe better to put it back the way it was?

    Basically I'm confused and just need a quick way to fix an order -- don't want to install Edit Orders or Super Orders until such a time as the functions I need are available. I'm comfortable using phpMyAdmin to mess things up. hehe.

    Thanks for your input!

    Becky

  9. #19
    Join Date
    Feb 2005
    Posts
    17
    Plugin Contributions
    0

    Default Re: How to change product attribute for order placed?

    I change it to text in phpMyAdmin, and it worked fine.

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

    Default Re: How to change product attribute for order placed?

    I have not broken it yet ... but I have more testing for this for future releases to do ...
    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!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. how to change order quantity of attribute ?
    By tony_sar in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 24 Aug 2010, 04:03 PM
  2. Change 'To:" email when order is placed.
    By joefox in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 Apr 2009, 09:00 PM
  3. Change (alter) price before or after order is placed (partial refund / extra freight)
    By HerbertFilby in forum Managing Customers and Orders
    Replies: 1
    Last Post: 19 Feb 2009, 09:07 PM
  4. How can I display the product image in the placed order?
    By jarcher in forum Managing Customers and Orders
    Replies: 2
    Last Post: 8 Dec 2008, 03:15 PM
  5. Wrong order placed, cant change attributes
    By gcampos in forum Managing Customers and Orders
    Replies: 1
    Last Post: 11 Mar 2008, 11:45 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