SweetManiac
Forum Replies Created
-
Hi,
Same here but I’m using Woo Discount Rules Pro for discounts and promotions and Unit of Measure suffix was not showing on discounted products.
If it can help, in my case, I managed to get it to work by adjusting the add_filter priority from 10 to 999.
In the file : woocommerce-unit-of-measure/public/class-wc-uom-public.php, I changed :
public function wc_uom_public_activate() { add_filter( 'woocommerce_get_price_html', array( $this, 'wc_uom_render_output' ), 10, 2 ); }
to :
public function wc_uom_public_activate() { add_filter( 'woocommerce_get_price_html', array( $this, 'wc_uom_render_output' ), 999, 2 ); }
And now the Unit of Measure text is showing on my discounted products.
Not an expert programmer here so I’m not sure if this is completely legit but it works for me.
Hope this can help!
- This reply was modified 3 years, 3 months ago by SweetManiac. Reason: adding some info
- This reply was modified 3 years, 3 months ago by SweetManiac. Reason: adding some more info
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Shortcode problem inside IF/ENDIFHi!
Same thing here, my theme shortcodes and other WordPress shortcodes are not rendered inside the if/else statements in Pod Templates.
Meanwhile I reinstalled version 2.7.31 and it works again.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce dashboard blank + Layout header wrongI had the same problem and error codes pointing to the embeded WooCommerce Admin plugin/package, messing up the WC admin headers and giving blank pages in the Analytics section.
I found and installed the downloadable version of the same official WooCommerce Admin plugin and everything came back to normal… ??
https://www.ads-software.com/plugins/woocommerce-admin/
Hope it helps !
- This reply was modified 3 years, 11 months ago by SweetManiac.
- This reply was modified 3 years, 11 months ago by SweetManiac.
It is working perfectly now ! Thank you very much !