Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2006
    Posts
    920
    Plugin Contributions
    2

    Default Select default attribute...

    I have setup attributes for all my products (display style set to radio buttons).

    Is it possible to setup ZenCart to automatically select the cheapest attribute by default? I've noticed that this works fine when using the drop down list box, but not with radio buttons.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,828
    Plugin Contributions
    9

    Default Re: Select default attribute...

    Yes thios is a setting in the product attribute page... at the bottom there is an orange box with "Default Attribute to be Marked Selected:" and yes and no.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2006
    Posts
    920
    Plugin Contributions
    2

    Default Re: Select default attribute...

    Kobra, thanks for the reply. I'm aware of this box, but was wondering if there is an easier way to do this (maybe a global setting). If not, I'll have to manually edit over 1000 products.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,828
    Plugin Contributions
    9

    Default Re: Select default attribute...

    Are all the products that you want to change in ONE category? or spread over many categories?
    Zen-Venom Get Bitten

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

    Default Re: Select default attribute...

    Do you "know" what Attribute is the cheapest on the Products or is it different per Product?

    Are the Attributes the same on all of the Products or unrealted?

    Depending on how this is setup ... you could write a script to grab all Attributes for a Product and set the lowest priced one to default and the others as not default ...
    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.5]
    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
    Mar 2006
    Posts
    920
    Plugin Contributions
    2

    Default Re: Select default attribute...

    The attributes span across all categories. They are also different per product and have different pricing.

    I'm now guessing that it might be easier to just manually select default attributes.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,828
    Plugin Contributions
    9

    Default Re: Select default attribute...

    I think that Ajeh's solution of a SQL script might do your trick. BackUp DB first...
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Mar 2006
    Posts
    920
    Plugin Contributions
    2

    Default Re: Select default attribute...

    Quote Originally Posted by kobra
    I think that Ajeh's solution of a SQL script might do your trick. BackUp DB first...
    Would be ok if I was any good at creating SQL queries!! Anyone able to provide me with a few pointers please?

  9. #9
    Join Date
    Mar 2006
    Posts
    920
    Plugin Contributions
    2

    Default Re: Select default attribute...

    I really hate to bump this, but does anyone know of an easy solution?

    If not, I'll begin the long manual edit! :|

 

 

Similar Threads

  1. v154 Select table shipping method as default - freedelivery is being set maybe as cheapest
    By SarahL in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 24 Aug 2015, 03:32 PM
  2. Change the qty box default from 0 to blank or select all
    By idc1 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Dec 2011, 09:30 PM
  3. CAN select attribute - CANNOT select it's quantity
    By amrami in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Dec 2010, 02:29 PM
  4. Pre-select default payment method
    By breadfan in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Aug 2007, 05:12 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR