• Resolved Make carlos

    (@make-carlos)


    Hi

    yith-woocommerce-name-your-price/templates/single-product/nameyourprice-price-form.php to

    mytheme/woocommerce/single-product/nameyourprice-price-form.php -> I have changed in this file but its not showing in front side. that means woocommerce override template is not working at all.

    any suggestion ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,

    The plugin follows the WooCommerce standards for overriding templates. Maybe it’s a problem with your theme. Have you checked it? Please note that some themes use a different path for overriding templates.

    Thread Starter Make carlos

    (@make-carlos)

    I have checked with Store front as well but not working. did you tried to check in your local system? Please check once so you will get idea.

    <input type="text" id="ywcnp_suggest_price_single AAAAAA" class="ywcnp_sugg_price short ahirahir" name="ywcnp_amount"/>

    I have added extra class AAAAA but its not showing in front at all. if i change code in plugin then its working. Please investigate

    Thread Starter Make carlos

    (@make-carlos)

    You need to change this line

    wc_get_template( ‘single-product/nameyourprice-price-form.php’, $args, YWCNP_TEMPLATE_PATH, YWCNP_TEMPLATE_PATH );

    to

    wc_get_template( ‘single-product/nameyourprice-price-form.php’, $args );

    Please do this and it will work.

    Plugin Author YITHEMES

    (@yithemes)

    Hi @make-carlos
    Thanks for your feedback, as soon as possible we will release an update for this

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘woocommerce override template is not working’ is closed to new replies.