bhavik.kiri
Forum Replies Created
-
Forum: Plugins
In reply to: [NSFW] [Change Quantity on Checkout for WooCommerce] Plugin compabilityThanks for sharing the WP version. Could you also confirm the WooCommerce version and my plugin version? Just to clarify, when my plugin is activated, the ‘Place Order’ button does not function as expected on the checkout page—please correct me if I’m wrong.
If I’ve misunderstood, kindly share a screenshot of the issue to help me analyze it better. Since the theme is a paid one, could you check if the issue persists when using the Storefront theme?
Forum: Plugins
In reply to: [NSFW] [Change Quantity on Checkout for WooCommerce] Plugin compability@fierevere Again I’m stating that I have just asked WEBSITE URL, not the any other details. Thanks.
Forum: Plugins
In reply to: [NSFW] [Change Quantity on Checkout for WooCommerce] Plugin compabilityHi @aurelievdbb,
Could you please let me know the WooCommerce and WordPress versions you’re using, as well as my plugin version? Additionally, it would be helpful if you could share which theme is active on your site. Do you have a staging site where I can replicate and investigate the issue further?
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] Plugin not workingHi @smdigitals,
Thank you for sharing the website URL. I noticed that your store is using the “Block Checkout” feature. The free version of the plugin is designed to work specifically with the standard WooCommerce checkout page, which utilizes the “woocommerce_checkout” shortcode. If you require compatibility with the Block-based checkout, you may consider upgrading to the Pro version, which includes support for adding quantity functionality on Block checkout as well. Let me know if you have any questions!
Please feel free to revert if you have any queries.
Hi @pennio,
You can use any text translation plugin to capture and translate the text, or alternatively, you can leverage the WordPress “gettext” filter to modify or translate text dynamically. Below is a sample code snippet you can adapt as needed:
add_filter ('gettext_cqoc', 'cqoc_gettext_fun', 10, 3);
function cqoc_gettext_fun($translation, $text, $domain){
// original text
? ? if( 'Remove this item' == $text ){
// New translated/replaced text
? ? ? ? $translation = 'Remove';
? ? }
? ? return $translation;
}Steps to Implement:
- Copy the function and paste it into the
functions.php
file of your child theme or parent theme. - Replace ‘Original text to be replaced’ with the exact text you want to translate or modify.
- Replace ‘New translated/replaced text’ with the updated or translated text.
Important:
Backup the Website: Before making any changes, ensure you take a complete backup of the website, including the database and files, to avoid data loss or unexpected issues.
Let me know if you need further clarification or assistance!
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] CSS on Initial Page load brokenHi @matthieucnc,
Thank you for providing the website URL, I have checked your website and noticed that you had disabled the plugin because I can not see the quantity field on the checkout page.
Astra theme appears to dynamically add the quantity button using a JavaScript file, which functions correctly once the page is fully loaded. However, the initial load seems to require triggering the quantity button code using a different WooCommerce JavaScript Trigger.
To resolve this, you’ll need to modify the “add-to-cart-quantity-btn.min.js” file located in the “astra/assets/js/minified” directory. Please insert the following code into that file:
jQuery(function ($) {
$(document.body).on('updated_checkout', function () {
astrawpWooQuantityButtons();
quantityInput();
});
});It’s crucial to ensure these changes only affect the checkout page to prevent disrupting the theme’s default behavior.
I recommend reaching out to the theme author for further assistance, as they will be able to provide more specific guidance on this matter. Please keep me updated on their response; I’m here to help!
Important: Always create a complete website backup before making any manual code changes.
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] +- buttons are not showingHi @valantis_c,
Thank you for your appreciation of the plugin and for providing the website URL; it was instrumental in identifying the issue.
I’ve observed that your theme is altering the default WooCommerce quantity selector. Specifically, your theme relies on a JavaScript file to implement the “+” and “-” buttons, but this file is not loaded on the checkout page, which is why the functionality is not working there.
I recommend reaching out to the theme author for further assistance, as they will be able to provide more specific guidance on this matter. Please keep me updated on their response; I’m here to help!
Regards,
BhavikHi @harishsave,
Can you please provide me your website URL, so that I can try to replicate the issue and help you with the fix?
Hi @henrybaum,
Thank you for providing the website URL. Kindly find the below css to move the Quantity selector below Product name.
.product-info {
display: flex;
flex-direction: column;
}.quantity.buttons_added {
order: 2;
}.cqoc_container {
order: 1;
}You need to add this css in your theme / child theme’s style.css file.
Kindly let me know the result.
- This reply was modified 9 months, 2 weeks ago by bhavik.kiri.
Hi @ateebahamd,
Thanks for sharing the code snippet.
Certainly, I’ll be releasing the plugin update containing this fix soon.
Regards,
Bhavik- This reply was modified 11 months, 4 weeks ago by bhavik.kiri.
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] Latest Version Breaks Checkouthi @frafor,
Per the WordPress support policy, it’s not recommended to share email addresses on public forums. However, if you could share only the website URL, I’ll be able to review it and provide a response accordingly.
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] Latest Version Breaks CheckoutHi @frafor,
I apologize for any inconvenience caused. Would it be possible for you to share your development website url along with the latest version of the installed plugin? This way, I can examine the issue and offer a solution.
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] *- button does not displayHi @bethhansen
Thank you for providing the website URL. You are correct; the plugin utilizes the default WooCommerce quantity selector, and your theme also includes the default quantity selector.If you wish to add the quantity selector as shown in the video, you’ll need to modify the default quantity selector template.
Feel free to reach out if you need further assistance or have additional questions.
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] *- button does not displayHi @stylingagenten,
Thank you for providing the website URL. I have checked the checkout page and can see the quantity buttons.
Can you please confirm the issue?
Forum: Plugins
In reply to: [Change Quantity on Checkout for WooCommerce] Latest Version Breaks CheckoutHi @firstclasscode & @arxdesign
Is it possible to share the debug log, so I can understand the issue and fix it? If you have any staging environment where I can check the issue then kindly share the website url.
- Copy the function and paste it into the