JenniferEklund
Forum Replies Created
-
Maybe I can answer my own question. On variable products, let’s say I’m forbidding EU sales on items with “Zero Rate” for taxes – those product variations will be restricted on the checkout page, correct?
What if I have a free item where the parent is marked at “None” for Tax Status – those can still go through no matter the person’s location?
Nevermind I think I found it – it’s the one in “General” settings “Record all users online” correct?
Can you point me to where that setting is exactly? Is it the IP/Robot Exclusions under Access/Exclusions?
Ok thank you!
Only text in the file is: deny from all
Totally understand what you’re saying, it’s just that the file is always showing up immediately after UpDraft does a backup and I would think that Updraft does touch the uploads/woocomerce_uploads folder because that’s where I upload new digital products and isn’t that the purpose of Updraft, to back up new data?
Just heard from WOO. They are releasing an update soon – there is a bug in the plugin that is effecting variable pricing.
Yes, I’ve done all of that. Switched themes, disabled all plugins and the problem still remains.
When you add a variable product the price doesn’t show up. I’ve submitted a ticket with Woo – just waiting…. This is obviously a pretty big problem since customers like to see the purchase price of different options before adding items to the cart.
Even removing this code (I tried that on my staging site) the issue still occurs. ??
Well that link you gave is where I got that functions.php code from to revert to the old style of pricing.
Weird this is it didn’t effect all of my products (i.e. the price box didn’t disappear on all my variable products) it’s only disappearing if I:
1 – try to add a new variable product
or
2 – edit the price of an existing variable product
And sure enough – the price box disappearing is only happening on “variable” products, not “simple” products.
So any idea how to fix this?
Yes I did actually!
After the new WooCommerce was rolled out it was by default showing a “price range” so the developers suggested adding the following to the functions.php file so that on variable products the lowest price shows (i.e. “from $2.88” instead of $2.88-9.88) Here’s what I added in my child theme:
// Use WC 2.0 variable price format, now include sale price strikeout add_filter( 'woocommerce_variable_sale_price_html', 'wc_wc20_variation_price_format', 10, 2 ); add_filter( 'woocommerce_variable_price_html', 'wc_wc20_variation_price_format', 10, 2 ); function wc_wc20_variation_price_format( $price, $product ) { // Main Price $prices = array( $product->get_variation_price( 'min', true ), $product->get_variation_price( 'max', true ) ); $price = $prices[0] !== $prices[1] ? sprintf( __( 'From: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] ); // Sale Price $prices = array( $product->get_variation_regular_price( 'min', true ), $product->get_variation_regular_price( 'max', true ) ); sort( $prices ); $saleprice = $prices[0] !== $prices[1] ? sprintf( __( 'From: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] ); if ( $price !== $saleprice ) { $price = '<del>' . $saleprice . '</del> <ins>' . $price . '</ins>'; } return $price; } ?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Just to add: when creating a new product the pricing box is also absent:
Forum: Fixing WordPress
In reply to: pluggable.php on line 896This thread totally saved my butt and my website this morning. THANK YOU!!!!!
Forum: Plugins
In reply to: [Hupso Social Media Share Buttons] Pinterest button not workingSeems to be working for me now too – thanks for the response!
Excellent – thanks for posting this! Love this plugin, happy to have ditched Jetpack