• Hi,

    On my single product page, I have 2 kinds of attributes:
    1) attributes that are “Visible on product page”
    2) attributes that are “Used for variations”

    For the attributes that are “used for variations”, I use Improved Variable Product Attributes for WooCommerce plugin (http://codecanyon.net/item/improved-variable-product-attributes-for-woocommerce/9981757) to help improving the UX (e.g. make color variations appear as color palettes, etc.).

    Currently, the attributes that are “visible on product page” are managed by Woocommerce Show Attributes plugin and are positioned above the attributes that are used for variations. I want to switch the positions of these two, so I guess it’s a matter of changing the “priority”. Can you please tell me how to do that?

    Thank you in advance for your support.

    Best regards,

    John

    https://wordpress.org/plugins/woocommerce-show-attributes/

Viewing 1 replies (of 1 total)
  • Thread Starter jouriena

    (@jouriena)

    Here’s some update on my side. I’ve contacted the author of Improved Variable Product Attributes plugin, and it seems that the priority of the variable attributes that’s managed by this plugin has a priority of 10. In contrast, the default priority of Woocommerce Show Attributes is 25. Hence, the static attributes (managed by Woocommerce Show Attributes) are supposed to be below the variable attributes mentioned above, but it’s not working so and I’m clueless about that…

    For the time being, I decide to make do with having the static attributes below the ‘add to cart’ button. But in doing so, I had to change the priority directly in the woocommerce-show-attributes.php file because I couldn’t find the relevant function for remove_action and add_action in functions.php file.

    So when you read this message of mine, I would really appreciate it if you could let me know the following:

    1) whether it’s possible to make the static attributes ‘below’ the variable attributes on Woocommerce single product page. and if yes, how to do so?

    2) If it’s to be done by adding remove_action and add_action in functions.php, please let me know the exact code to input.

    Best regards,

    John

Viewing 1 replies (of 1 total)
  • The topic ‘Move static attributes below variable attributes’ is closed to new replies.