Danny
Forum Replies Created
-
Thanks for your help. There are two places to set quantity step. I did set in the Product data tab.
Now it works when I uses the upper Product quantity tab. I think it would be better to put all Min/max/step settings in one place instead of have Quantity step in two places.
it does not help.
removed default set, and tested step change +/- with both 0,5 and 0.5
also initial quantity forced to min quantity
this is the only product I set to use decimal quantity, that’s why you don’t see error for other products, they all the default value 1.
it is not working yet, I don’t want to use deciamal quantity for other products.
- This reply was modified 1 year, 5 months ago by Danny.
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 1 year, 9 months ago by Danny.
Disable automatic calculation of index tables after editing products and automatic calculation of index tables after product stock changes.
helps.
Forum: Plugins
In reply to: [ShopMagic - email automation] order.payment_url does not workhere 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 2 years, 10 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 4 years, 4 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 4 years, 7 months 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://ww.wp.xz.cn/support/topic/flags-not-appear-on-dashboard/