Nick Taylor
Forum Replies Created
-
Hiya
Thanks – it’s set to “Open lightbox”… and it’s working in preview, but not in the published view.
The shortcode I’m using is
[Best_Wordpress_Gallery id=”4″ gal_title=”Photos”]
Forum: Plugins
In reply to: [WooCommerce] Woocommerce: Add Order. Product list empty. Select2 errorMine was a theme-clash.
There’s a file called kad_adminscripts.js which was called by a file called lib/adminscripts.php – I just commented it out, so it doesn’t appear in the admin department. I think it still does in the public-facing part of the site.
I’ve yet to find any drawbacks to omitting it… I’ve been using the system for the last couple of weeks – seems ok.
Forum: Plugins
In reply to: [WooCommerce] How to get shipping methods for orderOkay – I’ve managed to bodge it by making customer’s default address the same as the shop address.
So I’ve basically made it so it looks like everyone comes from New Zealand.
Good enough for me, although it is about 5% sub-optimal on account of it not representing reality exactly. Not everyone does actually come from New Zealand. This assumption in the model is possibly storing up trouble.
Still… the alternative was making shipping free.
Forum: Plugins
In reply to: [WooCommerce] How to get shipping methods for orderI’m asking for this programmatically, because I cannot for the life of me find a way of showing a radio list of shipping options prior to the customer entering their address. I just assumed that this was well and truly broken by the addition of shipping zones…
… so if there’s a way of giving customers a choice of shipping type without entering an address, and without me having to code my own, that would be a whole lot better.
I’ve been fighting this one for about a week now.
Forum: Plugins
In reply to: [WooCommerce] Is something wrong with the WC_Order class?Hiya – I’m using PHP7.
Changed a couple of weeks back… am fairly sure the change happened well before this problem started occurring.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce: Add Order. Product list empty. Select2 errorThe clash was in the file:
kad_adminscripts.js
(I ran the working theme, and the non-working to figure out which files were different)
If I rename this… problem solved.
Sub-optimal solution, because I don’t know what else it does – but as it is in the admin dept, and is specific to a theme, then chances are I’m not using it in any case. I pretty much only use this site for woocommerce and the odd blog post.
Aaaaand if there’s a problem, I know where to look. The offending file appears to be absolutely obsessed with select2 though, so it makes sense that is what was causing the problem.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce: Add Order. Product list empty. Select2 errorHiya – thanks for getting back to me.
What I’m hoping for is some advice with someone who has specific experience with the jquery select2 functionality – and how to get it to work with ajax.
This is likely to be a small code-level hack/fix of the HTML or JS, rather than getting plugins/themes to cooperate.
I am a (recovering) web developer – I just don’t have specific experience with select2 and Ajax. If it is used with Woocommerce, then chances are a Woocomerce dev might have seen this issue before.
Nick
Forum: Fixing WordPress
In reply to: Manually adding Order : Product list has gone.Okay – will do, thanks.
Nick
Forum: Fixing WordPress
In reply to: Image upload issues – Size reported as 0x0Well… just so Doug-O doesn’t feel too chastised, his solution did in fact help me.