whatthecup
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Display Product Weight on Product Page and Shop PageThank you so much. it worked! Appreciate all your help
Forum: Plugins
In reply to: [WooCommerce] Display Product Weight on Product Page and Shop PageFor all. it shows the weight but not the unit. For eg: 454g weight only shows 454 (grams missing).
Please let me know.
thanks
Forum: Plugins
In reply to: [WooCommerce] Display Product Weight on Product Page and Shop PageThanks its working now but the above code doesn’t give the weight unit on product page.
Can you please let me know how to add that
add_action (‘woocommerce_single_product_summary’, ‘show_weight’, 20);
function show_weight() {
global $product;
$attributes = $product->get_attributes();
if ( $product->has_weight() ) {
print ‘<p>Weight: ‘.$product->get_weight().'</p>’.PHP_EOL;
}
}Thanks in advance
Forum: Plugins
In reply to: [WooCommerce] Display Product Weight on Product Page and Shop PageWe have variable products (but weight is mentioned the same for each variation). Can that be messing the numbers?
The weight is displayed correctly in additional information tab. but the weight mentioned for the same product on shop and product page shows a different number using the code.
Forum: Plugins
In reply to: [WooCommerce] Sitewide store notice: Change Dismiss to OkThanks for the reply. We may use dismiss word in the blog so using the translate plugin might not work.
I haven’t created a child theme and using the parent theme only. Can you please guide how to add a child theme. will it change all the modifications i have made so far?
Thank you Jainil. This doesn’t work. Once i click send it keeps loading and doesn’t show any message like msg send or not sent.
Also, if you can share the code for changing the color of all the action messages of contact 7 form (Msg sent/msg invalid/not sent etc)
Thank you
Please let me know. Thanks
i have tried the code but it only changes the border color
Forum: Plugins
In reply to: [WooCommerce] Shipping option in woocommerceThank you so much. It worked. Appreciate your help.
Forum: Plugins
In reply to: [WooCommerce] unable to change green color of action messages in woocommerceThank you. Creating another thread
- This reply was modified 4 years, 7 months ago by whatthecup.
Forum: Plugins
In reply to: [WooCommerce] unable to change green color of action messages in woocommerceThank you so much. Both issues resolved. Appreciate your help.
I have one more question regarding the shipping. Can i please ask in the same thread or do i need to create a separate one for that?
Forum: Plugins
In reply to: [WooCommerce] unable to change green color of action messages in woocommerceThank you. I am giving it a try. Can you please have a look at the apply coupon button on cart page? Its not in the same line. Please let me know how to move it next to coupon space. Thanks
Forum: Plugins
In reply to: [WooCommerce] unable to change green color of action messages in woocommerceSure. I am disabling the maintenance mode for a few minutes. Thanks in advance
Forum: Plugins
In reply to: [WooCommerce] unable to change green color of action messages in woocommercePlease let me know how to add the screenshot of the issue here.