jlev00
Forum Replies Created
-
Hi Moumita – thanks for the reply.
Sorry, what do you mean “each time”?
Also, I wanted to know whether you need Woocommerce Stock Management turned on in order for your plugin to work. It’s the option in the Woocommerce Settings, under Products –> Inventory.
Depending on the site I’m building I often leave it turned off. Have you tested your plugin with Stock Management turned off?
Forum: Fixing WordPress
In reply to: p tags in category descriptionUpdate: I checked the differences between 4.6.2 and 4.7.1 version of formatting.php. Line 472 has changed from:
$pee = preg_replace('!(<' . $allblocks . '[\s/>])!', "\n$1", $pee);to
$pee = preg_replace('!(<' . $allblocks . '[\s/>])!', "\n\n$1", $pee);Changing this line back fixes the issue on my site. Of course this isn’t a permanent solution. Is someone able to advise me whether this change in WordPress code is permanent, and not a bug? I’ll also follow up with my theme developer.
Hi Jeremy – thanks for the response.
The original images were 1020×1020 which is large but not excessive. My web host may have throttled Photon. In fact, I could see about 20% of images were not cached by Photon on the first pass, an issue which improved over time but never completely resolved itself. Also worth noting is that this 20% wasn’t the same products as the 21% increase in Merchant Center feed disapproved products.
Unfortunately it’s going to be hard to test with smaller images because 1) the site is a production site, and 2) we don’t have an easy way to update the filenames in order to force a cache purge.
Let me have a think how I’m going to move forward on this.
Update: I disabled Photon and Disapproved products have gone back to their previous level.
Forum: Plugins
In reply to: [WooCommerce] Flat Rate Shipping to one country onlyHi Mike/lorro –
The following code seems to be working:
// Fix Shipping by setting the default customer location to Japan add_filter( 'woocommerce_customer_default_location_array', 'set_woocommerce_customer_default_location_array'); function set_woocommerce_customer_default_location_array($location) { $location['country'] = 'JP'; return $location; };Thanks again for your help – running 2.6.11 in production now.
Forum: Plugins
In reply to: [WooCommerce] Flat Rate Shipping to one country onlyHi lorro/Mike – Merry Xmas π
Ok it looks like 1) I have completely botched the code above, and 2) there’s something wrong with my Shipping Zones – I can only select “Oceania” but not drill down further to Australia.
Will have another crack at it and post results in here.
Also, is anyone able to shed light on what happened in 2.6.5? Was it a complete rewrite of how locations are handled? As I said it is working fine in 2.6.4.
Forum: Plugins
In reply to: [WooCommerce] Flat Rate Shipping to one country onlyHi Mike – thanks for the reply.
The base country is Australia; we only ship to Japan (at this stage).
I tried setting the base country to Japan – Tokyo but still not picking it up.
Also tried the following:
add_filter( 'woocommerce_customer_default_location_array', 'set_woocommerce_customer_default_location_array'); function set_woocommerce_customer_default_location_array($location) { return 'JP'; };Forum: Plugins
In reply to: [WooCommerce] Flat Rate Shipping to one country only*bump*
I’m still stuck on 2.6.4 because I can’t figure this out.
Let me put it another way: what’s the easiest way to have 1) a single flat rate shipping set up for all orders, AND have 2) restrictions on the countries with which I do business, so that a customer doesn’t need to go to the checkout page once in order for the Cart page to show the shipping cost.
This is almost the simplest type of shipping imaginable yet as far as I can work out it got borked in 2.6.5. There’s a chance I’m just not setting up the Shipping correctly but I can’t work out a combination that doesn’t require a user to go to the Checkout page in order to have the Cart page’s shipping populated.
Forum: Plugins
In reply to: [WooCommerce] Strange japanese format addressLooks like it is expecting the address to be entered in Japanese characters, rather than English.
Hi tameroski – I have not got it working.
A Product Type with an Xpath value of “bundle” doesn’t break the system, but as far as I know there is no facility in WPAI to link the bundled products.
You can however link them once inside Woocommerce, after which you won’t have to link them again. One small point to note is that the Price for the bundle won’t populate until the Bundle has linked products.
Beautiful. Jeremy thank you so much for the detailed response.
Question: is a post marked somehow in the database as being either HTML or markdown?
Newly-imported products are fine (ie created in markdown), but existing products which have their content updated are remaining-in/being-converted-to HTML.
Still testing, still happy for any tips/etc.
Hi Jeremy – quick update, recently I tried switching back to Jetpack Markdown and it seems the above issue is no longer an issue! But now I have another question. I’ll start a new thread. Thanks.
What a fantastic plugin, fantastic support. Really appreciate the insight into the details.
Hi – thanks for the quick response, and apologies for taking so long to get back. Thanks to your reply I got it working the way I wanted.
Just a further clarification, “Try to match terms to existing child Product Categories” tries to match based on the name of the category? ie not the slug? The reason I ask is because I’m trying to understand the behaviour if I choose “Each Post Has Multiple Categories.”