smartdiyer
Forum Replies Created
-
Thanks.
Thanks Patrik. You were helpful. I will utilize the snippet.
Perfect! I unchecked the directory from Full WAF Mode. It worked. @nintechnet Thank you very much for reply.
Forum: Plugins
In reply to: [Photo Reviews for WooCommerce] Option for LocationPurchased, will contact support
Forum: Plugins
In reply to: [Photo Reviews for WooCommerce] Option for LocationThank you for reply.
Is there any plan to include ‘Location feature’ in your plugin?
If you add that, your plugin will be complete. Basically, the location option should not use ‘GPS’. Instead it should fetch from the ‘Billing Address’
Will contact you soon regarding Custom CSS.Forum: Plugins
In reply to: [WooCommerce Smart COD] Infinite Loop @ CheckoutFinally found the actual error causing ‘infinite loops’
The above should like this,add_action( ‘woocommerce_review_order_before_submit’, ‘woo_terms_conditions’, 10 );
function woo_terms_conditions(){
echo ‘<p style=”text-align:center;color:#08445c;font-size:13px;”> By Placing Order you Accept our Terms and Conditions</p>’;
}There is no difference except the ‘&’ character is not accepted and creates loops.
- This reply was modified 3 years, 5 months ago by smartdiyer.
Forum: Plugins
In reply to: [SMS Alert Order Notifications - WooCommerce] PHP Error in ‘my-account’ pageHey, Thank you for your super fast reply. Yes. I installed the development version and it works without PHP errors. Will soon contact you with DLT documents. Just FYI, 5.8 is on its way, please have it compatible.
Forum: Plugins
In reply to: [WooCommerce Smart COD] Infinite Loop @ CheckoutHi seannikilabs, your suggestion indeed helped me.
Thank you. I had did all kinds of troubleshooting with plugins. Didn’t expect the Theme to conflict.
Yes. It was theme conflict. I then started to check my codes in functions.php.
Removing all solved the issue. Started looking for the exact code causing this error.
Finally found that. I am creating an extra message before ‘Place Order’ Button using this code hook below.add_action( ‘woocommerce_review_order_before_submit’, ‘woo_terms_conditions’ );
function woo_terms_conditions() {
echo ‘<p style=”text-align:center;color:#08445c;font-size:13px;”> By Placing Order you Accept our Terms & Conditions</p>’;
}Issue solved as soon as I removed that. But I am still curious as why this code only messed with smartCOD!!. Works fine with all other payment methods.
@plantprogrammer
Thanks for Reply and your experimentation.
Is there a workaround for this.? Like I already said, I need WP to generate a cookie after the user logs in. It should be present only until the user logs out.====Update==
Disabled All Plugins except Woo,
Set Default Theme,
Permalinks @ /shop/%product_cat%/SAME ISSUE PERSISTS. Permalinks automatically changes to Product Type
Hey Thanks for reply. I reinstalled your plugin on another domain with generate-press theme just for testing purpose.
Here too, I have observed the same problems.
My Permalinks are set to: /shop/%product_cat%/
My Product URL before: domain/shop/hand-tools/bolt-cutters/product-name/
After Activating Plugin, URL: domain/product/product-name/ (Turns 404)
After Clearing Transients in Woo,
Product URL shows: domain/product/product-name/ (Works Fine)
Site Permalinks Still stay Same: /shop/%product_cat%/
No Debug Log File Created, since there wasn’t any error
My Server Specs:
{Server architecture Linux 4.18.0-147.8.1.el7h.lve.1.x86_64 x86_64 Web server LiteSpeed PHP version 7.4.11 (Supports 64bit values) PHP SAPI litespeed PHP max input variables 5000 PHP time limit 120 PHP memory limit 256M Max input time 120 Upload max filesize 128M PHP post max size 128M cURL version 7.71.0 OpenSSL/1.1.1d
}
Later Shifted to Default WP Theme. Issue still persists.
I am totally confused as why other users haven’t faced this issue yet..Forum: Plugins
In reply to: [PWA for WP & AMP] Issue with Spash Screen settingsSame case with me. Splash screen Background colors once set return to transparent by default. Waiting for the plugin update. Thanks
Thank You Subrata for quality support. I will go through the codes and make adjustments as per my needs.
Forum: Everything else WordPress
In reply to: VAT to GSTI want to display GST instead of VAT. Searched everywhere for solutions. Used gettext filter. But doesn’t work for me. Would someone please spread some light?. I don’t want to use any plugins. Below is the code that I have tried.
add_filter( ‘gettext’, function( $translation, $text, $domain ) {
if ( $domain == ‘woocommerce’ ) {
if ( $text == ‘(incl. VAT)’ ) { $translation = ‘(incl. GST)’; }
}
return $translation;
}, 10, 3 );All this is needed for the Checkout Page only. The SubTotal and Individual prices are shown in VAT and the Total is shown in GST as per the tax slabs. I want the word VAT to be replaced with GST
Screenshot: https://prnt.sc/10yls6l
Thanks for your fast response. Oops! Sorry I didn’t realize that.