Results 1 to 10 of 37

Hybrid View

  1. #1
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Setting an attribute to be 'Required' does not work.

    The products we sell (tours/activities) are such that we need to know certain things to process an order.

    I've checked the red boxes in the attribute controller to make those specific attributes required, and it definitely worked, I remember it sending me back to the product page and telling me to fill required things in.

    But I haven't checked it in a while and I've come a long way since I remember it working the way I wanted it to. I've made several changes, installed add-ons, etc., and now it doesn't appear to matter whether or not I check an attribute as required, even if a required attribute is left blank the product is still added to cart.

    Is there a way to switch that back on? I'm not even sure what I did to turn it off in the first place.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Setting an attribute to be 'Required' does not work.

    Quote Originally Posted by Mike D View Post
    The products we sell (tours/activities) are such that we need to know certain things to process an order.

    I've checked the red boxes in the attribute controller to make those specific attributes required, and it definitely worked, I remember it sending me back to the product page and telling me to fill required things in.

    But I haven't checked it in a while and I've come a long way since I remember it working the way I wanted it to. I've made several changes, installed add-ons, etc., and now it doesn't appear to matter whether or not I check an attribute as required, even if a required attribute is left blank the product is still added to cart.

    Is there a way to switch that back on? I'm not even sure what I did to turn it off in the first place.
    To help others help you, please provide an example product (via web address), and if possible, please be more specific about the settings for the product(s) and the applicable attributes.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Setting an attribute to be 'Required' does not work.

    http://www.shakatourshonolulu.com/oc...dolphin-safari

    I've changed every attribute for this product to required and it still gets to the cart with missing attributes.

    I don't know where exactly things are going wrong - hence the forum post - but I did change a number of stock zen cart things to get where I am. For instance, the price of a product is dynamically calculated by a javascript running on the page that calculates the price based on some of the attributes. The actual price of the product is set to $1 so the javascript inserts the "price" that it calculated into the qty field, which sets the price.


    Will try tea suggestion now...

  4. #4
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,732
    Plugin Contributions
    27

    Default Re: Setting an attribute to be 'Required' does not work.

    Quote Originally Posted by Mike D View Post
    The products we sell (tours/activities) are such that we need to know certain things to process an order.

    I've checked the red boxes in the attribute controller to make those specific attributes required, and it definitely worked, I remember it sending me back to the product page and telling me to fill required things in.

    But I haven't checked it in a while and I've come a long way since I remember it working the way I wanted it to. I've made several changes, installed add-ons, etc., and now it doesn't appear to matter whether or not I check an attribute as required, even if a required attribute is left blank the product is still added to cart.

    Is there a way to switch that back on? I'm not even sure what I did to turn it off in the first place.
    Make cup of tea.

    You've admitted installing upgrades, it sounds like you've wiped out the switch.

    Sip the tea.

    Check the product page the switch should be on for functionality, switch between your current template and the Classic Green template to find out if it's a problem with the template files or the core files.

    Report back when the tea is empty.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

  5. #5
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Setting an attribute to be 'Required' does not work.

    Quote Originally Posted by twitchtoo View Post
    Make cup of tea.

    You've admitted installing upgrades, it sounds like you've wiped out the switch.

    Sip the tea.

    Check the product page the switch should be on for functionality, switch between your current template and the Classic Green template to find out if it's a problem with the template files or the core files.

    Report back when the tea is empty.
    Ok I've still got tea left but I plan on refilling the cup anyway...

    I've switched between templates and the "switch" appears to be unaffected, the product is still added to the cart no matter which template I use.

  6. #6
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,732
    Plugin Contributions
    27

    Default Re: Setting an attribute to be 'Required' does not work.

    Ok then it's a change to the modules, classes or functions related to the product page... Or the switch is working and the attribute conditions are not within the scope of the existing code.

    Can you get it working with a new product that doesn't have any extras added to it? Perhaps try with a different product type?
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

  7. #7
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Setting an attribute to be 'Required' does not work.

    Quote Originally Posted by twitchtoo View Post
    Ok then it's a change to the modules, classes or functions related to the product page... Or the switch is working and the attribute conditions are not within the scope of the existing code.

    Can you get it working with a new product that doesn't have any extras added to it? Perhaps try with a different product type?
    We've got an existing product on our site (http://www.shakatourshonolulu.com/hp...canyon-snorkel) that doesn't use the javascript calculator to figure out the price but good ol' zen cart all the way. I've changed all the attributes to required and when I leave it blank it still hits the shopping cart.

    I tried testing different product types last night, music and documents, but for some reason the attributes I add to the products don't show up.

    And actually, today, I'm having a new problem. I disabled the status to the category for the products i was testing. Now I can't change the status of any products or categories. Chrome keeps spitting "No Data Received" back at me. Gonna see if I can't take care of that and post back.

  8. #8
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Setting an attribute to be 'Required' does not work.

    Oh boy...so I don't think I did anything major today. Switched between templates a bit. Created a couple new products, deleted a few new products. Changed the status for one of those products and I changed an option in admin for music product types then changed it back but that's it...and now I can't seem to change the status of any products or categories.

    The new product I changed to "status off" (red box instead of green) I can still access (http://www.shakatourshonolulu.com/test/test-product) even though it's set to disabled. The other disabled things are inaccessible. What gives?

    I was hoping it was a server issue but everything else appears to be working fine. Did I fat-finger it? Any ideas?

 

 

Similar Threads

  1. [Not a bug] My Store Does Not Work In Google Chrome
    By articleck in forum Bug Reports
    Replies: 16
    Last Post: 15 Nov 2011, 03:38 AM
  2. My Shipping estimator does not work for guests / users not logged in
    By bgroup99 in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 10 Nov 2011, 07:27 PM
  3. Base price plus attribute does not seem to work for me
    By danilyn22 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 25 Mar 2011, 02:00 AM
  4. Shipping Estimator does not work for me when not logged in
    By speedraceratl in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 22 Aug 2009, 06:14 PM
  5. Send Email tool Does not work if Customer not subscribed.
    By woodlandsprite in forum General Questions
    Replies: 4
    Last Post: 15 Jul 2006, 05:57 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