pinal.shah
Forum Replies Created
-
Forum: Plugins
In reply to: [Quotes for WooCommerce] Send Quote button not firing properlyHi @milamber,
I apologise for the delay in response. I shall try replicating this at my end and get back to you with a fix at the earliest.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Admin NotificationHi Steve,
Based on the details you have mentioned, yes it seems that nothing is wrong with the email function. It is possible that this might be happening due to a conflict with some other plugin.
Can you please check once by deactivating all other plugins except for WooCommerce and the Quotes plugin?
If the issue persists in the above scenario, can you please drop me an email on pinalj1612 at gmail dot com with the WordPress admin access and FTP access to the site so I can look into the issue and help fix it.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Bulk change products to !Quote Products”Hi @sirmckean,
Yes, the plan is to eventually merge the bulk quote settings branch into the master branch and also add some more settings for the plugin.
However, it might be a little while (a month or two) before that is finally done. This is as I’m currently working on creating quotes as custom post types and displaying them on a different page making it easier to manage quotes.
As of now, the branch is not updated and does not contain the changes done in the last update of the plugin.
I agree on it not being a great idea to move plugin directories manually. In case if you need the global quote setting immediately, please let me know.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Editing Button LabelsHi @totld,
Currently the plugin does not provide any settings using which you can easily change the text of the ‘Add to cart’ button on the Shop and product pages. However, you can achieve the same by pasting the below code in the functions.php file of your active theme.
add_filter( 'woocommerce_product_add_to_cart_text', 'custom_change_button_text', 11 ); add_filter( 'woocommerce_product_single_add_to_cart_text', 'custom_change_button_text', 11 ); function custom_change_button_text() { global $post; $post_id = $post->ID; // check if setting is enabled $enable_quote = product_quote_enabled( $post_id ); if ( $enable_quote ) { $cart_text = __( 'Add to Quote Cart', 'quote-wc' ); } else { $cart_text = __( 'Add to Cart', 'quote-wc' ); } return $cart_text; }
The above code will help you change the text on the single product pages as well as the Shop page of your site.
I hope this helps. Please let me know if you have any further queries.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Admin NotificationHi @thetallguy,
I apologize for the delay in response.
You have mentioned above that the customer is receiving the notification. Can you please confirm if the notification you are talking about is the one that is sent to the customer when you click on the ‘Send Quote’ button? This button is visible in WooCommerce->Edit Orders page after you mark a quote complete.
If yes, then can you please check whether WooCommerce emails are being sent to the admin correctly? This can be checked by deactivating the plugin once and placing an order.
Please let me know the results of the above tests so I can help fix the issue further.
Also, can you please let me know the version of the Quotes plugin currently active on your site.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Internal Server Error When Submitting QuoteHi Dominic,
Thank you for sending across the access details. I’ve applied the fix on the site and as mentioned earlier, the fix will be included in the next update to the plugin.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Internal Server Error When Submitting QuoteHi @dsberd,
I have checked your site and am able to replicate the issue. I can see that the WooCommerce update_order_review ajax call is failing resulting in the Internal Server Error.
However, there are no errors being displayed currently to help me narrow down the cause of the issue.
There is also another error being logged when the Checkout page loads, however I’m unsure if it is related to the above issue or no.
Can you please confirm if you have tried to test the plugin using only the minimal plugins required (i.e. WooCommerce and the Quotes plugin) along with a WordPress theme like Twenty Seventeen?
If the issue persists in the above scenario, can you please drop me an email on pinalj1612 at gmail dot com with WordPress admin access and FTP access to the site so I can look into the issue and help fix it.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Internal Server Error When Submitting QuoteHi @stevevgl,
Thank you for checking out the plugin.
I tried accessing the site you have mentioned above. However, I did not see the Payment Method ‘Ask for Quote’ on the Checkout page which is displayed by the plugin when the Cart contains products that require a Quote. Hence I presume the plugin is not active on the site.
Can you please activate the plugin on the site and let me know so I can check the issue?
Thanks,
PinalP.S. Please note I’ve placed a test request for a Quote on the site (#2483)
Forum: Plugins
In reply to: [Quotes for WooCommerce] Bulk change products to !Quote Products”Hi Jack,
I apologize for the delay in response. Please find below a link to a GitHub branch which adds a menu to the WordPress admin screen.
https://github.com/pinalj/quotes-for-woocommerce/tree/global-settings
The Settings page contains a single checkbox allowing the admin to enable/disable the ‘Quote’ settings for all the draft and published products on the site.
Please download the zip file and replace the existing plugin folder in <site_folder>/wp-content/plugins/quotes-for-woocommerce with the downloaded folder via ftp.
I hope this helps. Please let me know.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Bulk change products to !Quote Products”That’s great to know Jack. If possible, I’ll try to create a temporary menu that will allow you to enable/disable quotes for all products at one go.
Pinal
Forum: Plugins
In reply to: [Quotes for WooCommerce] Bulk change products to !Quote Products”Hi Jack,
Can you please let me know if above queries were helpful? Were you able to setup all the products to Quote products as needed?
Please let me know if you have any further queries.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Bulk change products to !Quote Products”Hi Jack,
The setting for enabling Quotes at the product level is saved in the postmeta table with the meta_key ‘qwc_enable_quotes’.
When the value is set to ‘on’ it enables Quotes for the product and when set to blanks it disables quotes for the given product.
Below are some sql queries that will help you find a list of all the products on the site and enable quotes for the same.
1. This query will list all the products on the site except for the ones that have been trashed.
SELECT ID FROM wp_posts WHERE post_type = 'product' AND post_status <> 'trash'
2. The below query will list all the products that have the quotes setting created.
SELECT ID, p2.meta_key, p2.meta_value FROM wp_posts AS p1, wp_postmeta AS p2 where p1.post_type = 'product' AND p1.ID = p2.post_id AND p2.meta_key = 'qwc_enable_quotes'
3. In case if the setting is created but disabled, please use the below query to enable the same.
UPDATE wp_postmeta SET meta_value = 'on' WHERE meta_key = 'qwc_enable_quotes' AND meta_value = ''
You will have to manually filter the products for which the setting data is not present at all by comparing the product IDs found in the first and second query and run an insert for those.
I hope this helps. Please let me know if any further details are needed.
In a scenario where you have to keep updating/inserting the setting at regular intervals for products via sql, then I think it will become a tedious process. A script might be more helpful in that case.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Bulk change products to !Quote Products”Hi @jackinproject,
I’m glad you liked the plugin.
I understand that you need the ability to turn all products into ‘quote only products’ at one go. However unfortunately, the plugin currently does not have any setting for the same.
I do understand that it is a tedious process when having to do it for a huge number of products.
Do you wish to do it for all the products or some products from the entire list?
If you wish to do it for all the products, then we could probably write a script that loops through all the products on the site and enables the setting.
Please let me know.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Admin NotificationHi @koolpal,
An update has been released to the plugin last week (v1.2). This update contains the feature to send an email notification to the admin when a request for a quote comes through.
Kindly upgrade the plugin to the latest version to avail the feature.
I hope this helps.
Thanks,
PinalForum: Plugins
In reply to: [Quotes for WooCommerce] Admin NotificationHi there,
I’m glad you liked the plugin. No, currently the admin doesn’t receive any notification. You can see the order in WooCommerce->Orders list.
I’ll look into adding an email notification for the same. I believe you would like to receive an email notification stating that a request for a quote (essentially an order) has come through. Am I right?
Customizing the email template can be done the same way as customizing any WooCommerce email.
Please create the customized email template at the path ‘quotes-for-wc/emails/send-quote.php’ in your active theme. You can check for the path in WooCommerce Settings->Emails->Send Quote as well.
I hope this helps. Please let me know in case if you have any further queries.
Thanks,
Pinal