• Resolved shreyans94

    (@shreyans94)


    Cant search for specific variations in disable for specific products.

    • This topic was modified 7 years ago by shreyans94.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author FullStack-ing

    (@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 ]

    Plugin Author FullStack-ing

    (@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 ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug’ is closed to new replies.