Results 1 to 10 of 27

Hybrid View

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

    Default Re: Deleting an Option with a "TEXT" or "FILE" value for ALL products

    Are you using:
    Code:
    DELETE from products_attributes WHERE options_id=10 and options_values_id=0;
    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. #2
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    347
    Plugin Contributions
    0

    Default Re: Deleting an Option with a "TEXT" or "FILE" value for ALL products

    Quote Originally Posted by Ajeh View Post
    Are you using:
    Code:
    DELETE from products_attributes WHERE options_id=10 and options_values_id=0;
    Yes that's correct and I get this result "4 rows deleted. (Query took 0.0013 sec)"

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

    Default Re: Deleting an Option with a "TEXT" or "FILE" value for ALL products

    Could you check the two files on the server for:
    /includes/configure.php
    /your_secret_admin/includes/configure.php

    are they both using the same database name?

    Where are you when you run the:
    Code:
    DELETE from products_attributes WHERE options_id=10 and options_values_id=0;
    In the Tools ... Install SQL Patches ... or in phpMyAdmin?
    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. #4
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    347
    Plugin Contributions
    0

    Default Re: Deleting an Option with a "TEXT" or "FILE" value for ALL products

    Quote Originally Posted by Ajeh View Post
    Could you check the two files on the server for:
    /includes/configure.php
    /your_secret_admin/includes/configure.php

    are they both using the same database name?

    Where are you when you run the:
    Code:
    DELETE from products_attributes WHERE options_id=10 and options_values_id=0;
    In the Tools ... Install SQL Patches ... or in phpMyAdmin?
    Both configure files are using the same database. I'm using phpMyAdmin to run the DELETE SQL query.

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

    Default Re: Deleting an Option with a "TEXT" or "FILE" value for ALL products

    Browse the table products_attributes and sort on the field options_id then scroll to where you find the records for options_id = 10 ...

    How many records do you see there with options_id is 10?
    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. #6
    Join Date
    Dec 2008
    Location
    Toronto
    Posts
    347
    Plugin Contributions
    0

    Default Re: Deleting an Option with a "TEXT" or "FILE" value for ALL products

    Quote Originally Posted by Ajeh View Post
    Browse the table products_attributes and sort on the field options_id then scroll to where you find the records for options_id = 10 ...

    How many records do you see there with options_id is 10?
    I don't see any...it goes from option id 9 then jumps to 11.

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

    Default Re: Deleting an Option with a "TEXT" or "FILE" value for ALL products

    Are you able to Export the table products_attributes from your database and Zip it then attach it to your post?
    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. v150 Is this a bug in v1.50? orders_total doesn't output "text" but "value"
    By inception in forum General Questions
    Replies: 10
    Last Post: 10 Sep 2012, 05:38 AM
  2. HELP - ALL Attributes are showing up as "Text" for option value!
    By NWFAP in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 2 Jan 2012, 01:14 AM
  3. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  4. Ability to get a list of "option value" by "customer"?
    By Banhi in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 26 Jan 2008, 07:57 PM
  5. Inside the "Categories" box it says "New Products" and "All Products"...
    By john9 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Feb 2007, 07:55 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