-
-
Hi
When a customer from USA or Spain (these are the 2 we have checked) try to place an order they cannot select a state or province as the drop down is blank. They also cannot free type the correct state or province as the form won’t allow free entry (as it does in UK) and so as a mandatory field the order then cant be moved forwards?
How can we resolve this please?
Thanks
Euan
-
Hi
We have temporarily resolved this issue by adding the following lines to the function.php file but it doesn’t look right compared to the rest of the form but at least allowed the site to function.
// Remove CSS and/or JS for Select2 used by WooCommerce, see https://gist.github.com/Willem-Siebe/c6d798ccba249d5bf080.
add_action( ‘wp_enqueue_scripts’, ‘wsis_dequeue_stylesandscripts_select2’, 100 );
function wsis_dequeue_stylesandscripts_select2() {
if ( class_exists( ‘woocommerce’ ) ) {
wp_dequeue_style( ‘selectWoo’ );
wp_deregister_style( ‘selectWoo’ );
wp_dequeue_script( ‘selectWoo’);
wp_deregister_script(‘selectWoo’);
}
}Can you please propose a proper fix as soon as possible?
Thanks
Euan
-
We have now updated the code in Functions.php to:
if ( class_exists( ‘woocommerce’ ) ) {
wp_dequeue_style( ‘select2’ );
wp_deregister_style( ‘select2’ );
wp_dequeue_script( ‘select2’);
wp_deregister_script(‘select2’);
wp_dequeue_script( ‘selectWoo’);
wp_deregister_script(‘selectWoo’);
}But again would appreciate a fix from you guys.
Many thanks
Euan
- This reply was modified 6 years, 4 months ago by Ludjon.
-
Hello,
Thank you for noticing these. I have forwarded the ticket to theme developer for a professional review. We’ll check closely on these and include a fix in the next theme update.
Best regards!
-
Can’t reproduce the issue.
Just checkout from Spain, select a state without problem. Can you please help me to understand what is the issue?
Thanks
-
Hi Ludjon
The issue is the drop downs. We have added some code to temporarily help this but I will remove and you will see that the drop downs don’t work or if they do it is very slow and often incomplete.
Please try again.
This appears to be worse on Windows devices than Mac’s and doesn’t matter what browser it is with.
If you now try this product I can’t select an option.
https://avantgarderetail.co.uk/shop/decor/shearer-candles/
And now if I choose USA as location it shows 2 drop-downs and I can’t select on estate either?
I am using a Mac and it doesn’t work on either Chrome or Safari. The customer is the US was using Windows 10 and Chrome.
Thanks
Euan
- This reply was modified 6 years, 4 months ago by Ludjon.
-
On me works, perfectly, on your site and on localhost too. I will take a deeper look what can cause this on your side.
Thanks
-
Hi Ludjon
We had 4 clients complain of this issue and our customer sees it as do we. If you refresh the page it sometimes works but this needs to work 100% as I am sure you will agree.
See page snaps from my browser just now.
Thanks
Euan
-
-
Can you please help me to found this by removing the extra lines that you have added in code:
I am talking about this:
if ( class_exists( ‘woocommerce’ ) ) {
wp_dequeue_style( ‘select2’ );
wp_deregister_style( ‘select2’ );
wp_dequeue_script( ‘select2’);
wp_deregister_script(‘select2’);
wp_dequeue_script( ‘selectWoo’);
wp_deregister_script(‘selectWoo’);
} -
-
It works like this on me:
https://postimg.cc/image/d8lad1dvb/
Is this ok? or i am missing something?
-
It works like this on me:
https://postimg.cc/image/d8lad1dvb/
Is this ok? or i am missing something?
-
Hi Ludjon
I can get it to work sometimes but not consistently. If it doesn’t work and then you refresh the page it will often work. Clearly it isn’t working consistently or we wouldn’t be seeing it or had 4 customers complaining about it. 3 of which have not gone back and retried.
Change US to Spain and try again without refreshing the page?
Many thanks
Euan
-
Also you have that on Spain. US seems worse.
Thanks
Euan
-
Looking on the web it appears to be a Select2 thing?
I don’t know what that means but I am sure you will.
Thanks
Euan
-
We seem to be having intermittent issues with all drop downs across the site?
Thanks
Euan
-
Just tried it again this time with Safari and I chose Spain.
Please attached. When I click Provence you can see the dropdown arrow is pointing down but nothing populates?
Hope this is helpful.
Thanks
Euan
-
Oh, I found that, is caused by the viewport. For example when the select is on the bottom of the screen it’s caused, when its on the middle or top of viewport its open normally. I will fix now.
Please add this css line, i will update too.
.select2-container--open .select2-dropdown--above{ box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1); border:none !important; opacity: 1; }
-
Many thanks Ludjon
This all appears to be working consistently now.
Really appreciate your help and attention getting all of this resolved.
Kind regards
Euan
-
-
Hi Ludjon
Just tried to update the theme and it killed the site. Have restored from backup.
Why would this be?
Many thanks
Euan
-
-
Hello Ludjon
I didn’t realise there was a right way. I just clicked update when it told me there was a new theme. How should I be doing it?
Many thanks
Euan
-
Yes, just need to update the theme and the plugin too (codeless builder 1.4.6)
-
Do this: disactive the codeless builder plugin -> update theme -> update plugin -> active plugin
-
Hi Ludjon
I have just tried this but get the same result. It kills the site. Getting 500 error so can’t go back in and update or activate Codeless Builder?
Many thanks
Euan
-
Sorry i have updated and is 500 again. Probably caused from something else. Can you please roll back?
Thanks -
Thanks Ludjon
Not sure why it would be something else as clearly it is working before we apply the update?
What can we do now?
Kind regards
Euan
-
-
Hello,
One of the current installed plugins could be conflicting with it.
I will try adding the new theme update manually and keep both copies in the wp-content/themes folder. But i need the ftp credentials for this. Can you please add them in your profile data?Thanks!
-
-
Hello,
I can login now. (Time 14:00 UCT +1) Let me know if it’s ok.
Regards!
-
Hello Mihaila
I am just going to do a backup of the site and will confirm when this is done.
Many thanks
Euan
-
Hello Mihaila
I have backed up the site and have reopened the FTP.
Please confirm when you will be looking at this so I can be on hand.
Many thanks
Euan
-
Hello Mihaila
Can you look at this now or provide me with a start time please?
Many thanks
Euan
-
-
Sorry Mihaila
For some reason I didn’t get an email alert for your reply.
I have done some testing myself and the plugin that is causing the compatibility issue is Woo-commerce.
If you disable Woo-commerce the upgrade completes and operates perfectly. As soon as you activate Woo-commerce it kills the site. Turn Woo-commerce of again and the site comes back on with a refresh.
Hope that helps.
Kind regards
Euan
-
Hello,
Sorry for the late reply.
Did you install an external woocommerce plugin? Theme has its own, customized Woocommerce plugin. Please deactivate your current version manually. Just go to wp-content/plugins and rename woocommerce folder.Then go back to dashboard. A message will show up, asking you to install required plugins. Install woocommerce here, following the onscreen instructions.
Let us know if the situation persists after this.Best regards!
-
Hi Milhaila
As far as we know we used the Woocommerce supplied?
How do we reinstall WooCommerce whilst keeping all of the information already in the current version? We can’t afford to lose all the stock, layouts and customers.
Thanks
Euan
-
Hello,
1-Go to your wordpress installation wp-content/plugins folder useing a ftp account.
2-Rename the current Woocommerce folder: https://postimg.cc/image/wzpnayjif/
3-Back at wordpress dashboard, You will see a notification asking you to install woocommerce plugin (screenshot). Install and activate it.
All products should be in place again.NOTE: However, it’s a very good practice to always keep backups of your site’s files and database! So whatever happens you can rollback to a previous state.
Best regards!
-
Many thanks Mihaila
I will give that a try tonight when I can close the site temporarily.
Kind regards
Euan
-
This did not work Mihaila
As soon as you rename or delete the woocommerce folder you get a blank page when trying to get to the dashboard.
Any thoughts?
Regards
Euan
-
Hello,
This shouldn’t happen. Check here a video recording of the process: https://jmp.sh/fSPoD8j
Best regards!
-
Hi Mihaila
I agree, but this is what’s happening?
I have used exactly the process in your video and once you have renamed the woocommerce folder the attached shows what you get when you try to open plugins.
https://postimg.cc/image/3lcmq0dwr/
What now?
Thanks
Euan
-
Hello,
Go to wordpress dashboard (yourtheme.com/wp-admin) and then access the plugins frm the menu. I just tried and the plugins open without issue: https://postimg.cc/image/i78j0fvxz/
Best regards!
-
Yes, that is because I have changed the woocommerce folder back? As I said it works fine until I change the name or delete the woocommerce folder as instructed.
Once I do this I get the black screen when you try to go into WP-ADMIN.
-
Hello,
Just download again the latest theme version zip file from Envato Themeforest > Downloads. Unzip it and you will find theme folder and other included folders (screenshot). Copy only theme folder and using the ftp (or cpanel), upload it directly into wp-content/themes folder.
This way you’ll be updating theme without affecting the site. I see the child theme is active so there shouldn’t be any issue.
After theme update is complete, go back to dashboard. The included plugins that have an update available, will have a notification in the dashboard. Follow the instructions.
Let us know.
Best regards! -
Thanks Mihaila
This has worked in terms of now having the latest theme and updated codeless builder.
However, we appear to have lost several of our customisations but not all. I am reluctant to go back in and update anything in case this will cause issues.
1. Search feature in header says “search for styles” where we had it saying “Search Gifts”
2. The pricing range has reverted back to low price£:high price£ where we had it showing as From: £low price. Can you confirm how to get this back please?Other than that all appears good.
Thanks
Euan
-
Hello,
1-Change the text in files:
june\includes\codeless_builder\header-elements\cl_header_search.php
june\includes\codeless_builder\header-elements\cl_header_tools.php
Or june.pot2-Changed the order by default from lowest to largest. To create the needed text please add this on functions.php:
add_filter( 'woocommerce_variable_sale_price_html', 'get_min_variation_price_format', 10, 2 ); add_filter( 'woocommerce_variable_price_html', 'get_min_variation_price_format', 10, 2 ); function get_min_variation_price_format( $price, $product ) { $min_variation_price = $product->get_variation_regular_price( 'min'); return '<span class="prefix-from">' . esc_html__( 'From', 'june' ) . ": </span>" . wc_price($min_variation_price); }
*Make sure to save a copy of edited files, so you won’t need to redo them again in future theme updates.
Best regards!
-
Thanks Mihaila
Search updates working great but the code added to functions.php results in a 500 error killing the site.
I actually already tried adding this code from the earlier ticket but got the same results?
What do you think it could be?
Regards
Euan
-
Hello,
The code is suggested n this ticket of yours: https://support.codeless.co/?topic=shop-not-displaying-products-using-internet-explorer
No error was generated then. I suggest you check it out closely to not have made any mistake while pasting. Perhaps a missing bracket or misplaced coma.Best regards!
-
You must be logged in to reply to this topic.