Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2005
    Posts
    89
    Plugin Contributions
    0

    Default How to do a "if product is priced by attributes" query?

    Some of the products in my shop are provided in smaller samples.
    These are priced by attributes and i would like to make it clear on the product listing page which items are available in sample sizes.

    I imagine there's a way of looking up which product ids are priced by attributes - can anyone help out?

    If i could query whether a particular option value is being used even better!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,708
    Plugin Contributions
    6

    Default Re: How to do a "if product is priced by attributes" query?

    In the products table the field products_priced_by_attribute is either 0 or 1 ... 1 being that the product is Priced by Attributes ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Jun 2005
    Posts
    89
    Plugin Contributions
    0

    Default Re: How to do a "if product is priced by attributes" query?

    Ah, ok - so i could use that, is there a similar field to say which option value is being used - this way any other products i choose to price by attributes (but do not offer sample sizes) will not show up

  4. #4
    Join Date
    Jun 2005
    Posts
    89
    Plugin Contributions
    0

    Default Re: How to do a "if product is priced by attributes" query?

    Any pointers on the code?

  5. #5
    Join Date
    Jun 2005
    Posts
    89
    Plugin Contributions
    0

    Default Re: How to do a "if product is priced by attributes" query?

    added

    p.products_priced_by_attribute

    to queries in default_filter.php
    Last edited by stehodges; 20 Nov 2006 at 06:21 PM.

 

 

Similar Threads

  1. Product disappear in shopping cart under this situation
    By icemanchai in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 9 Aug 2006, 06:45 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
  •