Danny
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Woocommerce mobile app saves wrong product dataIt has nothing todo with other plugin/theme, or attribute is not set
this is the screen shot, when view/edit a product in Proucts tab, short description is [block id=”shortdescription], it has not problem to edit and save.
But if I select a product from Orders tab, then it try’s to run/execute the UX block, unfortunedly it does not display attributes correctly. And after edit, it saved the wrong result. I think it should still have the original short description text as [block id=”shortdescription”], instead of the running result.
It is a bug for the mobile Woo app, not sure is this the correct place to report this error.
- This reply was modified 2 months, 3 weeks ago by Danny.
Forum: Plugins
In reply to: [Product Filter by WBW] Product filter slows down REST API callsDisable automatic calculation of index tables after editing products and automatic calculation of index tables after product stock changes.
helps.
here is the screenshot
I disabled cache plugin and also cleard browser’s cache, still EAN is displayed in single product page.
Thanks for your reply. I set Closest containter to .single-product. But still, EAN for variant is now shown on single produdct page.
Forum: Plugins
In reply to: [Product Expiry for WooCommerce] Using WPML and translate Expiry Text MarkupYou can use the translate string “Expiry Date: “, then modify product-expiry-for-woocommerce.php
//$text = str_replace(“%date%”, $formattedDate, $savedSettings[‘markup’]);
//$text = apply_filters(‘wpml_translate_single_string’, $text, ‘product-expiry-for-woocommerce’, ‘date-markup’ );
$text = __( ‘Expiry Date: ‘, ‘product-expiry-for-woocommerce’ ) . $formattedDate;
Cleaned WP database, problem is solved.
- This reply was modified 1 year, 3 months ago by Danny.
Forum: Plugins
In reply to: [WooCommerce Admin] Woocommerce admin can’t be actiatedIs is possible to add filter to Analytics->Orders.
I want to filter orders by payment types.Forum: Plugins
In reply to: [JC Submenu] Menus Don’t Populate AnymoreI generate menu from product categories, now all categories go to menu’s root level. The menu hierarchy is wrong, I want sub-categories show as submenu. Anyone knows how to do it?
- This reply was modified 2 years, 10 months ago by Danny.
Forum: Plugins
In reply to: [WooCommerce] Set product description and short descriptionThe code is like this, but quite strange, when create a new product, its short description is not set. But if I copy from one existing product, it does not copy existing product’s short description, and use “shortdescription” as copied product’s short description.
add_action( 'save_post_product', 'auto_add_product_attributes', 50, 3 ); function auto_add_product_attributes( $post_id, $post, $update ) { // Exit if it's an update if( $update ) return $post_id; $product = wc_get_product( $post_id ); $short_description = "shortdescription"; $product->set_short_description($short_description); $product->save(); // Save the product return $post_id; }
- This reply was modified 3 years ago by Danny.
Forum: Plugins
In reply to: [Woocommerce Polylang Integration] not able to translate product categoryTo reply myself, this thread solves the problem.
https://www.ads-software.com/support/topic/flags-not-appear-on-dashboard/