Support » Plugin: WooCommerce Smart COD » Bug

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Stratos Vetsos

    (@fullstackhouse)

    Hi,

    That’s not a bug, we did that on purpose, since it doesn’t make a lot of sense to disable a cod for one variation of the same product.

    If you want to enable variations as well, open file:
    wp-content/plugins/wc-smart-cod/admin/class-wc-smart-cod-admin.php

    Edit line 531 from:
    'data-action' => 'woocommerce_json_search_products',
    to
    'data-action' => 'woocommerce_json_search_products_and_variations',

    Open file wp-content/plugins/wc-smart-cod/admin/js/wc-smart-cod-admin.js

    Edit line 179 from
    else if( action === 'woocommerce_json_search_products' ) {
    to
    else if( action === 'woocommerce_json_search_products_and_variations' ) {

    And you are ready to go.
    Let me know if any issues.
    Also you have another topic open. Please reply on that too.

    [ Signature moderated ]

    • This reply was modified 3 years, 3 months ago by Jan Dembowski.
    Plugin Author Stratos Vetsos

    (@fullstackhouse)

    Hi,
    We just released an update, supporting variations( 1.4.5 ).
    Please update and let me know if any issues.

    If you liked the plugin, it will help us a lot if you rate it. 🙂

    [ Signature moderated ]

    • This reply was modified 3 years, 3 months ago by Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug’ is closed to new replies.