joe16
Forum Replies Created
-
Thank you for your reply and your precious help by providing the code snippet.
And sorry for my late reply.
I have applied the code snippet, but it is not working perfectly.
Please check this screenshot taken right after applying the coupon by clicking on it.
After clicking on the coupon, the page reloads, and scrolls to the end of the notification message (not the top, please see the top red framed section). Also, the (i) icon is shown again after the page reload.
Regarding the empty DOM elements, in my case I still see 2 empty DOM elements causing some extra spacing. The two DOM elements have the exact same code “<div class=”wt-sc-hidden-coupon-box”></div>”.
For now, I dropped the use of this feature as it is not a stable solution. I still use only the coupon quantity restriction.
My best regards,
Thank you for your reply.
Scroll behavior after applying a coupon :
Yes, you are right, I have tested with StoreFront theme and the issue does not persist. If it is a theme conflict, the conflict should be fixed on which side, your plugin or the theme (Blocksy theme)?
Coupon restriction not working as expected :
I have tested without your plugin, and I’m getting the same behavior. Do you have any suggestion about my use case? Or should I remove the excluded product from the category?
In my humble opinion, it could be a nice feature to have in your plugin, which is to check the number restriction after excluding the unwanted products.
Extra space due to the existence of empty DOM elements :
In my humble opinion (from an optimization point of view), empty DOM elements should never be rendered. I will be waiting for your code snippet, but I would suggest that you update your plugin with this fix, this way it will benefit for all users.
Add the description in the coupon card :
One thing about the custom code: it should at least use the same colors I have defined in the plugin settings.
Yes, please provide me with the code snippet. I appreciate your help.
Looking forward to your reply. Thank you in advance.
My best regards,
Hello @inpsydekrystian,
Good news!
I followed your steps and now it works! Without even troubleshooting or disabling other plugins.
One important change I made before starting the onboarding again, is to check the Advanced card processing option from the start (not enabling after the onboarding). I don’t know if this might impact the result.
Thank you very much for your precious help!
Have a nice day!
My best regards,
Hello @inpsydekrystian,
Thank you for your reply.
I’m using the classic checkout.
“One potential step to troubleshoot this issue would be to check if the black button disappears when you disable Advanced Card Processing while keeping?Credit or debit cards?disabled in the Standard Payments tab.”
=> I tested and yes it disappears as shown here https://i.imgur.com/si2WTep.png. But I don’t know what you may conclude from this. Please share your thoughts.
From my side, I will try troubleshooting by disabling other plugins as requested, and I will get back to you as soon as possible.
My best regards,
Hi @viveke,
Thank you for your reply! This time it works!
Does what you have mentioned above about the Pay Later message still apply, or there will be no interference issue?
Mentioned above: “Regarding the PayPal Pay Later option, we have intentionally disabled it on the product page. This is because it can interfere with the addon data submission during the add-to-cart process, ensuring smooth functionality for the customizations provided by the addon plugin.”
Looking forward to your reply. Thank you in advance for your help!
My best regards,
Hello @inpsydekrystian,
Thank you for your quick reply.
Here is the link: https://privatebin.syde.com/?55dba2535e63cff9#2teDbNogLAHboj4uzq7BSQV9MeizwacQMYRV1LfaLuED (its expires in 6 days).
Looking forward to your reply. Thank you in advance for your help!
My best regards,
Hi @viveke,
Thank you for your message and for sharing the info.
I tried the code snippet by adding it in theme functions.php, but I couldn’t save it, as it raises an error.
Uncaught Error: Using $this when not in object context in <path>\functions.php:29
Looking forward to your reply. Thank you in advance for your help!
My best regards,
Hi @tahaamin,
Thank you for your reply and for the clarification about the compatibility.
Personally, I will stick with the classic checkout, as I find it more stable and works OK with other plugins.
Thank you again for your help and responsiveness.
Have a nice day!
My best regards,
Hi @viveke,
Thank you for your reply and help!
Regarding the PayPal Pay Later message: it is not only for display purpose. The default message comes with a link, on which you click, that displays the calculation of the 4 settlements.
Regarding WordPress version: thank you for the confirmation. I draw to your attention that the section Tested up to still indicates 6.6.2 in the plugin page.
My best regards,
Hi @tahaamin,
Thank you for your reply and help!
Enabling the option “Checkout block field” in the?Admin & Advanced?tab, fixed the issue.
I wonder whether it is possible to move the VAT field just below the company field in the Billing Address block. Is it possible ?
Thank you in advance for your help!
My best regards,
Hi @viveke,
I get back to you with an update.
I confirm that there is no issue. It turns out that the display issue is caused by the added product field. In my case, I added a URL, which can be long. A Long URL will cause the UI components to be shifted to the right. To fix this, I added the following CSS:
.wcpa_cart_meta {
overflow-wrap: anywhere;
word-break: break-word;
}Regarding the PayPal Pay Later message: I hope you manage someday to keep it.
One question remaining without an answer: “PS: I noticed that the plugin is not tested with the latest WordPress version 6.7.1. Will this cause an issue?”
Looking forward to your reply. Thank you for your precious help!
My best regards,
Hi @viveke,
Thank you for your reply.
I have made the test in a fresh environment as you did, and didn’t get the issue. It is not the case on the production website: the issue disappears when I disabled your plugin. I will continue troubleshooting and keep you updated.
Regarding the PayPal Pay Later message: I didn’t know that it contains data that will be submitted. For me, it contains data only for display, it has nothing to do with the add to cart form.
What about this question: “PS: I noticed that the plugin is not tested with the latest WordPress version 6.7.1. Will this cause an issue?”
Thank you in advance for your help!
Looking forward to your reply.
My best regards,
Hello,
After troubleshooting, I was able to identify why the Pay Later message was not displayed in the product page. It was caused by a conflict with this plugin Product Addons for Woocommerce – Product Options with Custom Fields – WordPress plugin | www.remarpro.com, which allows adding custom fields in the product page.
Disabling this plugin fixed the issue (I should go for an alternative, as it also caused issues in the Blocksy theme).
Thank you guys for your support.
Hope this will be helpful for other users.
My best regards,
Hi @algoritmika,
Thank you for your reply.
It looks OK, I appreciate your responsiveness ?? !
Have a great day!
My best regards,