woocommerce / bookings-helper

This extension is a WooCommerce Bookings helper which helps you to troubleshoot bookings setup easier by allowing you to quickly export/import product settings.
32 stars 6 forks source link

Enhancement/26 Ability of importing Product & Global Rules via single zip #27

Closed faisal-alvi closed 2 years ago

faisal-alvi commented 2 years ago

This is a helping enhancement to the main export feature introduced in https://github.com/woocommerce/woocommerce-bookings/pull/3386.

Also, a checkbox is added (unticked by default) to allow users to determine if global rules should "also" be imported along with the product.

image image link

Note: While testing, a few warnings (all same) were seen under the "Cost" tab, which is also fixed by this PR.

Warning: Illegal string offset 'type' in ../plugins/woocommerce-bookings/includes/admin/views/html-booking-pricing-fields.php

Closes #26.

Steps to test:

This is a helping PR of https://github.com/woocommerce/woocommerce-bookings/pull/3386 so it will be tested along with it. Follow the steps mentioned in that PR.

dkotter commented 2 years ago

This can be tested alongside https://github.com/woocommerce/woocommerce-bookings/pull/3386 and if all looks good, this can be merged in

Sidsector9 commented 2 years ago

@dkotter this is reviewed. Next step is Woo Code review. Kindly assign the respective team.