Wocommerce Deposit plugin is not working after update

  • Member
    rezapilot
    March 13, 2018 at 3:41 pm #3854

    Hi there,

    I am creating this new topic because I am not receiving any reply on my other topic

    Old topic URL:

    Wocommerce Deposit plugin is not working after update

    I did the customizations earlier by myself as you mentioned other post:

    ###############################################
    Current this plugin hook to “woocommerce_before_add_to_cart_button”, it show above button “add to cart” on single product. But on single Tour, feature of tour not as product, so not have button add_to_cart. Reason why not show deposit

    You also can discuss with plugin’s developer, maybe they can modify easier in the plugin

    ################################################

    I added the woocommerce_before_add_to_cart_button hook in the /themes/swett/travel-booking/single-tour/price.php file
    Like this:

    <p class=”price”>
    <?php echo ‘<span class=”text”>’ . esc_html__( ‘Pris:’, ‘travelwp’ ) . ‘</span>’ . $price_html; ?>
    <?php do_action( ‘woocommerce_before_add_to_cart_button’ ); ?>
    </p>

    This is showing correct deposit amount on the tour page but not on the cart and checkout pages.

    I did the same change but it is not working.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.