How to vary WooCommerce product prices based on order dates

I’ve found 6 WordPress plugins that provide the functionality to vary prices of bookings/rentals according to dates and date ranges. All are premium. In no particular order they are: RnB – WooCommerce Booking & Rental Plugin WooCommerce Easy Booking (requires the extension “Easy Booking: Pricing“) YITH Booking and Appointment for WooCommerce WooCommerce Bookings And Appointments … Read more

Photo cover in WooCommerce

You are using cropped image. Your image is 300×300 cropped while the section is bigger. Your first div is already set to 40% width, so limiting the image to 40% in that section doesn’t make sense. Use properly sized thumbnail or actual image. Here is the result i got using actual image /3dcc1cba-c209-4a1a-a1f2-edd17fc8b58e.jpg & NOT … Read more

Change WooCommerce currency programmatically on AJAX request

This is how I solved it: /** * Force currency change */ add_filter( ‘wcml_client_currency’, function($current) { if(isset($_GET[‘currency’]) && $_GET[‘currency’]) return $_GET[‘currency’]; if(isset($_POST[‘currency’]) && $_POST[‘currency’]) return $_POST[‘currency’]; return $current; } ); And then in order for the above filter to be listened to, it’s important that you have added below code: add_action( ‘wp_ajax_quick_view_single_product’, __NAMESPACE__ . ‘\\quick_view_single_product’ … Read more