Emil
Forum Replies Created
-
Hi Gerroald,
Awesome! Thank you for letting me know. What happened to the link though?
Best regards,
EmilForum: Reviews
In reply to: [Webshipr - automated shipping] Works but codebase needs some workHi,
Thank you for the reply. I would love to update my review once the plugin gets a review but for now I still don’t think the code quality is up to par. There are still big issues such as not sanitizing $POST data before storing it in the database.
This is a small script i wrote to fix that:
jQuery(document).ready(function($) { var pickup_point = ''; $( document.body ).on( 'update_checkout', function() { var wspup_cart = $( '.wspup_cart' ); if ( $( wspup_cart ).find( '.wspup_confirmation' ).length ) pickup_point = $( wspup_cart ).html(); } ); $( document.body ).on( 'updated_checkout', function() { var wspup_cart = $( '.wspup_cart' ); if ( pickup_point && wspup_cart.length ) $( wspup_cart ).html( pickup_point ); } ); });
It has the added advantage that even if the user selects another shipping method but decides to select the one with pickup point selection again, the pickup point will still persist. This would probably cause issues if multiple shipping methods has pickup point selection though.
Forum: Plugins
In reply to: [WooCommerce Quickpay] Missing Email NotificationDid you test it with the free version? I don’t get any email notifications with the free version of WCSONP and 3.0.6. I had to downgrade to 3.0.3.
Forum: Plugins
In reply to: [W3 Total Cache] Minify CSS ErrorAny news? This issue still isn’t solved after a month.
Hi Chris,
That’s why I made this thread in the first place! Just remove the line:
RewriteCond %{HTTP_USER_AGENT} ^$ [NC,OR]
From your .htaccess. It should be at the very top of the file. Alternatively you can disable the Hackrepair blacklist.
This rule also causes issue with PHPs getimagesize() function. It causes a forbidden warning. I’d imagine there are more functions like this in PHP that would also have issues.
Hi Gerroald,
Thanks for the reply!
It doesn’t. I tried disabling all of those little tweaks when I was testing it and nothing worked which lead me to deduct that it had something to do with the HackRepair list
Forum: Plugins
In reply to: [WooCommerce] WooCommerce wrong taxNo problem! Please mark this thread as resolved if you have no further questions.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce wrong taxWell since you’re entering prices including tax, tax should be 25% of the product price without tax. Product price excluding tax: 189/1,25 = 151,2. 151,2 * 0,25 = 37,8. 37,8 is 25% of 151,2 meaning the price will be 189 including tax ??
Forum: Plugins
In reply to: [WooCommerce] WooCommerce wrong taxWC calculates taxes correct. Trust me. I’ve gotten the math wrong before regarding this and I’ve seen countless others getting the math wrong ?? If you post an example here I’ll provide a second set of eyes to look over the math if you want to.
Forum: Plugins
In reply to: [Scroll Triggered Boxes] Limited Number of Boxes DisplayingIt would not allow you to set these settings per box but would have to be the same for each box although if you created 5 sidebars, I guess you could have 5 different configurations.
Just create a sidebar, put the shortcode in a box, then add widgets to the sidebar and use Display Widgets to chose what content should appear on what pages ??
Forum: Plugins
In reply to: [Scroll Triggered Boxes] Limited Number of Boxes DisplayingMy solution is to use only one box and then use Widgets on Pages to create a sidebar containing all the different content I want displayed in the box. For conditional logic, I use Display Widgets.
Forum: Plugins
In reply to: [Black Studio TinyMCE Widget] run_shortcode() is applied before text filterThank you! Thats great!
Forum: Plugins
In reply to: [Scroll Triggered Boxes] Limited Number of Boxes DisplayingMay I ask what you’re using all the boxes for? Do you just have that many different? I was able to find an alternative solution for my specific need.