macarthurval
Forum Replies Created
-
Forum: Plugins
In reply to: [SYW Woocommerce Simple Checkout Steps] Language translationHi Steff, sorry by the late answer but I have not been notified at all for the new topics!
So, by default the language is automatilly choosen in accordance with your WordPress installation, so if you have your WordPress in english, the plugin must be showed in english, it’s not your case?
Hi, it’s correct, by default the first step go to the shop page.
I’ve seen your page and it seems you have achieved do it works like you want yet. If you need some extra help let me know.
Hi and sorry for the late answer, I have not been notified at all for the new topics!
This problem happens by a particularity of your theme witch has 3 <header> in that page, but you can fix it easily editing the syw-woocommerce-simple-checkout-steps.php at line 34, change it by:
jQuery('header:first').append('".$string."');
That’s all, there must be all right now.
Forum: Plugins
In reply to: [SYW Woocommerce Simple Checkout Steps] Disable on home pageHi Chris,
you are right with the second code, this one works like expected, I have tested it:
$shop_pages = (is_woocommerce() || is_cart() || is_checkout() || is_wc_endpoint_url( 'order-received' )) ? true : false; if (( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )) && $shop_pages){
For the issue in the order-received page, that seems is a particularity of your theme witch has 3 <header> in that page, but you can fix it editing the syw-woocommerce-simple-checkout-steps.php at line 34, change it by:
jQuery('header:first').append('".$string."');
I hope that everythings work now the way you expected. Thank you for your feedback, it really helps me to improve the plugin!
Forum: Plugins
In reply to: [SYW Woocommerce Simple Checkout Steps] Disable on home pageHello Chris, thank you very much for your rate and review!
Of course you can, for disable it at the home page, you have to edit the line 5 at steps-template.php in “/templates/”:
if ( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )){
change it by:
if (( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )) && is_front_page()!=true){
or if you want show it only at woocommerce’s pages (disable in home, blog, etc), change it by this:
if (( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )) && is_woocommerce()){
I will implementate this funcionality like an option in future releases.
Thanks again!
Forum: Reviews
In reply to: [SYW Woocommerce Simple Checkout Steps] Awesome work!Hello Chris, I’m really glad that you like it!
For disable it at the home page, you have to edit the line 5 at steps-template.php in “/templates/”:
if ( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )){
change it by:
if (( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )) && is_front_page()!=true){
or if you want shot it only at woocommerce’s pages (disable in home, blog, etc), change it by this:
if (( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )) && is_woocommerce()){
I will implementate this funcionality like an option in future releases, thank you very much for your feedback!!