Amin Jabari Asl
Forum Replies Created
-
Thank you @rur165 ??
Forum: Plugins
In reply to: [WooCommerce] Invalid download link. Go to the storeHi
I have the same problem. In my case, customers are able to download after checkout but they can’t download files from the download section in my account.In this topic and some other similar topics, the blank email field has pointed as the main reason for the problem.
I have marked email unnecessary in checkout. Every customer that leaves the email field empty, faces this problem.
I have found a temporary solution. I just go to every order and add a random email address. Then download link becomes available.
I am searching for a permanent solution. In this topic, some hints have suggested but I am not that expert to write a custom snippet for this problem.
I appreciate any help in this regard
Hello @rur165
Thank you for your kind response.I have added the wc-successful order status.
Would you mind helping with this customization for the sample status of “wc-successful”? It would be beneficial for other users with the same question, too.
I appreciate your help in advance.Forum: Plugins
In reply to: [Loco Translate] Woocommerce Emails Translations reverting backHi
I have a similar problem.I have added translation in custom, author, and system locations for the Dokan plugin. all of these translations are the same and they work perfectly. But after 3 or 4 hours system translation file reverts back to default and it affects the translation outcome in the frontend.
When I delete the system translation files (or even when I update them with my own translation), other translations show up in the frontend.
I read in the documentation that the custom location file has priority over the other locations’ files. I wonder why the system file’s translation is showing up in the frontend, while I have translations in custom and author locations?
I have added the below code to stop automatic updates in system files and I am waiting to see if it works. But is it the only solution?
add_filter( 'auto_update_translation', '__return_false' );
- This reply was modified 3 years, 10 months ago by Amin Jabari Asl.
Forum: Plugins
In reply to: [Gravity Forms Directory] Autologin after registration for specific formSorry, I have asked the question in the wrong place. I just wanted to delete the question, but there is no such option available.
Forum: Plugins
In reply to: [Import and export users and customers] Yes, this work with LearndashHi.
I want to add users to Learndash courses, but the instruction was not clear. Could you please upload a sample CSV file? Assume that the course id is “123”.Thank you @tanjiralmamun
I found the setting. I write down the solution for anyone who reaches here through search.For changing commission on a specific category, from your WordPress dashboard go to Products> Categories and select any category you want. If you have Dokan PRo installed on your site, you would see the setting for setting commission. you can change it for any amount you want.
For changing commission on a specific product, from your WordPress dashboard go to Products and select the products you want. In the Advanced tab of the product setting table, you can change the commission manually for this product.
- This reply was modified 3 years, 11 months ago by Amin Jabari Asl.
Hi @tanjiralmamun
I have Dokan PRO installed on my website. But I haven’t seen these settings. Could you provide a detailed solution? Where are they? which modules are needed?Forum: Plugins
In reply to: [Like Button Rating ? LikeBtn] Likebtn add Product snippet for like buttonI know that these parameters are optional parameters in the product snippet. (I think) The main problem is about using the wrong structured data markup for showing review.
The structure you have used is about the product page. Google thinks that the page is about the product and (with this misleading information) shows an error about missing some parameters.
We have a pure structured data markup for review and there is no need to use product schema for showing review snippets.
Review structure source: https://schema.org/Review
For example, the KKstar Rating plugin uses the following schema to add a review snippet:
{ "@context": "https://schema.org/", "@type": "CreativeWorkSeries", "name": "[title]", "aggregateRating": { "@type": "AggregateRating", "ratingValue": "[score]", "bestRating": "[best]", "ratingCount": "[count]" } }
I think you should change the structure and instead, use the correct one. In this way, Google won’t confuse the article page with the product one.
As you know, marking up a Non-product page labeled as a product is against Google rich snippet guidelines and may cause manual action (Read the source for extra information)
Dear @shaar7
I use Dokan with a different approach than usual.Some educational institutes register and hold classes offline. I am designing a service that let these institutes to register their classes online (and still hold them offline).
The best analogy for this service is the cinema ticket selling services.
In fact, I play the intermediary role in registering offline classes, online.
They register as a vendor, define their classes and we manage every other aspect of the registration process.These institutes are not familiar with online procedures and any complexity in defining and managing the classes in the vendor panel can flee them away. So, I have disabled every feature in the product section except creating a new class. Moreover, product creation has just a name, price, and a short description.
After a class got approved, vendors have no control over it.
I have added a simple form under the product listing that lets vendors contact the administrator of service for any request about classes.?Nevertheles, These modifications do not satisfy my standards of process convenience. So, I have enabled vendors to define and manage their classes by just sending a short message. Vendors’ panel is a complementary and parallel way for managing classes that brings them a sense of control.
I hope these explanations can help.??
- This reply was modified 3 years, 11 months ago by Amin Jabari Asl.
- This reply was modified 3 years, 11 months ago by Amin Jabari Asl.
- This reply was modified 3 years, 11 months ago by Amin Jabari Asl.
Hello @rur165
Thank you for your answer. It worked like a charm. I marked the topic as resolved.After further research I found a snippet for this question from bussinessbloomer:
// Change field type to number woocommerce checkout function bbloomer_change_checkout_field_input_type() { echo "<script>document.getElementById('billing_postcode').type = 'number';</script>"; echo "<script>document.getElementById('billing_city').type = 'number';</script>"; } add_action( 'woocommerce_after_checkout_form', 'bbloomer_change_checkout_field_input_type');
WooCommerce: Change Input Type @ Checkout Fields
https://www.businessbloomer.com/woocommerce-change-input-type-checkout-fields/