./mage config-set preferred_state stable
./mage clear-cache
./mage sync
./mage download community Module_Name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Add the product's short description (excerpt) to the WooCommerce shop/category pages. The description displays after the product's name, but before the product's price. | |
| * | |
| * Ref: https://gist.github.com/om4james/9883140 | |
| * | |
| * Put this snippet into a child theme's functions.php file | |
| */ | |
| function woocommerce_after_shop_loop_item_title_short_description() { | |
| global $product; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SET FOREIGN_KEY_CHECKS = 0; | |
| TRUNCATE TABLE `catalog_product_bundle_option`; | |
| TRUNCATE TABLE `catalog_product_bundle_option_value`; | |
| TRUNCATE TABLE `catalog_product_bundle_selection`; | |
| TRUNCATE TABLE `catalog_product_entity_datetime`; | |
| TRUNCATE TABLE `catalog_product_entity_decimal`; | |
| TRUNCATE TABLE `catalog_product_entity_gallery`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name "._*" -exec rm -f {} \; |