• Resolved sjefferson

    (@sjefferson)


    I’m getting error messages on the Linked Attributes tab, although the plugin does seem to be working. This error message is under Attributes:

    Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: include(‘wp-admin/edit-form-advanced.php’), do_meta_boxes, call_user_func, WC_Meta_Box_Product_Data::output, include(‘/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php’), do_action(‘woocommerce_product_data_panels’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Simple_Linked_Variations_For_WooCommerce->simplewlv_product_data_fields, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/sfjefferson/public_html/susanjeffersonjewelry.com/wp-includes/functions.php on line 4139

    And this error message was under Attribute Values:

    Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: include(‘wp-admin/edit-form-advanced.php’), do_meta_boxes, call_user_func, WC_Meta_Box_Product_Data::output, include(‘/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php’), do_action(‘woocommerce_product_data_panels’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Simple_Linked_Variations_For_WooCommerce->simplewlv_product_data_fields, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/sfjefferson/public_html/susanjeffersonjewelry.com/wp-includes/functions.php on line 4139

    Can you help resolve these issues? Thank you for your time.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Denis ?oljom

    (@dingo_d)

    Hi!

    Can you just say the versions of WooCommerce and WordPress so that I can try to reproduce this issue? Also, do you have any other plugins for WooCommerce installed? The more information I have, the easier it should be for me to debug this.

    Thanks

    Plugin Author Denis ?oljom

    (@dingo_d)

    Hi @sjefferson! I updated the plugin to the 1.0.2 version, this fixed the issue with the id being fetched directly instead of with $product->get_id() method.

    Should be working without any notices now ??

    Cheers!

    • This reply was modified 7 years, 4 months ago by Denis ?oljom.

    Hi,

    First of all, such a great plugin to think of as I myself was looking for a free plugin to use in my multi variation products. But, I am unable to understand one scenario;

    Scenario:

    I have multiple options for Fabric i.e. Crushed Velvet, Leather Faux, Napel Soft Touch and Chenille and each fabric has multiple options itselves. Like Leather Faux has Black, Brown, Cream and White options.

    So, I have created an extra drop down option and named it FABRIC OPTION and in it I put 4 options i.e. Crushed Velvet, Leather Faux, Napel Soft Touch and Chenille and what I want is everytime a user selects one of the options from the FABRIC OPTION dropdown, I would want the user to be shown the linked variations associated with the choice of the FABRIC OPTION.

    Unfortunately, all three variations are shown irrespective of the fact that the user first and must select one of the option from the FABRIC OPTION drop down.

    Your help will be greatly appreciated.

    Thank you

    Plugin Author Denis ?oljom

    (@dingo_d)

    Hmm I will look at this and get back to you asap.

    Cheers

    I will be looking forward to hear from you. Thank you

    Plugin Author Denis ?oljom

    (@dingo_d)

    Hi!

    Did you add the none as the option?

    You can try adding it as an option for the fabric option, and then you can link the options with the colors. And it should work.

    So you’d put fabric option as a linked attribute in the dropdown, and then link it with certain colors.

    I have a plan to upgrade it to include more options, but that will have to wait when I have some more free time.

    Hope this works for you.

    Cheers!

    Hey thanks for this plug-in. Does it work to hide multiple fields or only one?

    For example, hide a [frame color] and a [frame material] attribute.

    Also, does it support multiple conditions in one form?

    For example, Hide A of B as well as Hide C if D.

    I downloaded and used it, works great, just want to make sure I didn’t miss something.

    Many thanks,

    Plugin Author Denis ?oljom

    (@dingo_d)

    Honestly I didn’t test it on multiple cases. Off the top of my head, I don’t think it does. It could be added later on, but I’d need to do a rewrite of the plugin.

    The rewrite will definitely happen, because of Gutenberg (and it’s integration with WooCommerce).

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Simple Linked Variations for WooCommerce Error Messages’ is closed to new replies.