Jeff Alvarez
Forum Replies Created
-
Hi @joyryde ,
The feature: How To Send Store Credit Email Reminders – Advanced Coupons (advancedcouponsplugin.com) is premium so you’ll only find this setting if you have the premium version of our Advanced Coupon plugin.
You can set the reason why the product has been refunded, in the reason include short information letting the customer know that the refund is sent to their store credits, see: Screenshot by Lightshot (prnt.sc)
The reason can be found here: Screenshot by Lightshot (prnt.sc)
Please note that by default Woocommerce will send refund emails(as long as it’s a valid amount), if it’s not sending, please go to Woocommerce > Settings > Emails and ensure that the refund emails are enabled and set.
Hi @antoine69 ,
We do have a premium plugin called Wholesale Lead Capture, where the customer’s registration is held(unable to log in) until the admin approves the registration.
Though from the looks of your question, it seems to me that it’s in a multi-vendor or marketplace scenario. In this case, our plugin currently does not support it as all registrations will go to the website admin.
If you’d like to learn more about Lead Capture, please reach out to our support form here: Support Request Form – Wholesale Suite (wholesalesuiteplugin.com)
Hi @zaknik ,
The cart conditions for the Advanced Coupons Work as a way to check the cart or the prerequisites needed before it can be used.
It currently does not change what can be discounted or its discount rates, this is handled by the coupon data section: Screenshot by Lightshot (prnt.sc)
So, I’m afraid the only way to discount specific product categories is through my previous recommendations.
Though, what you could do is use non-qualifying coupon settings in the cart condition to let the customers know that they need to purchase x amount of x to use the coupon: Screenshot by Lightshot (prnt.sc)
This way the customer will know what to get in order to activate the coupon: Screenshot by Lightshot (prnt.sc)
Note that you can also add buttons to redirect the user to the product.
Hi @hcmendez ,
The free version of Wholesale Suite currently does not allow users to create multiple wholesale roles. I’ll assume that you’ve created a custom role outside wholesale suite?
If this were the case there shouldn’t be conflicts, assuming the roles assigned don’t conflict against one another. Also, we generally don’t recommend having wholesale customers have multiple wholesale/regular roles as there’s a chance the permissions might conflict.
I also noticed that you have multiple role plugins, it could be that it’s conflicting. I’d suggest following our standard debug:How To Conduct A Basic Debug For Wholesale Suite – Wholesale Suite (wholesalesuiteplugin.com)
Also, you can use this snippet to check if the logged-in customer’s role is being read properly. It’ll print out some text on the header/frontend with the assigned roles Screenshot by Lightshot (prnt.sc):
add_action( 'wp_head', 'my_get_current_user_roles'); function my_get_current_user_roles() { if( is_user_logged_in() ) { $user = wp_get_current_user(); $roles = ( array ) $user->roles; //return $roles; // This will returns an array var_dump($roles); return array_values($roles); } else { return array(); } }
Hi @zaknik ,
The Product Categories Exists In Cart, only checks the amount of quantity of said category in the customers cart, the discount of the coupon will apply as a whole.
If you’d like to only discount specific categories, please set the Usage Restrictions for product categories in the coupon: Screenshot by Lightshot (prnt.sc)
Hi @hesaplar ,
I’m unable to further help from here as that would function would likely come from the mini cart specific price.
Though, if you’d like to mess around with the code. I believe you should be able to retrieve the price with/without tax rates with the following
$price_excl = $product->get_price_excluding_tax(); // price without VAT $price_incl = $product->get_price_including_tax(); // price included VAT
For reference: php – Displayed WooCommerce product prices with or without taxes for specific user roles – Stack Overflow & php – Display product only prices excluding vat when zero tax is applied in WooCommerce – Stack Overflow
I’d suggest reaching out to Elementor to help you in setting the retail price in the mini cart to be excluding taxes.
Sorry for the confusion, yes in most cases it should get the product ID automatically, I forgot to mention that you can test the snippet by manually adding the product ID.
In most cases adding the snippet to your functions.php without any changes and it should fix most of the issues with the side cart not showing the wholesale price, if it doesn’t work on your end please reach out to the Elementor team to help complete the snippet and get it working with their side cart feature.
- This reply was modified 1 year, 4 months ago by Jeff Alvarez.
hi @hesaplar ,
Please give this snippet a try:
add_filter( 'woocommerce_cart_item_price' , function( $price, $cart_item, $cart_item_key) { global $wc_wholesale_prices; $wwp_wholesale_role = $wc_wholesale_prices->wwp_wholesale_roles->getUserWholesaleRole(); if( !empty( $wwp_wholesale_role ) ) { $wwp_wholesale_prices_instance = new WWP_Wholesale_Prices( array() ); $product = wc_get_product( $cart_item['product_id'] ); // replace with product id $get_price_html = $product->get_price(); if( $product->is_type( 'variation' ) ) { $parent = wc_get_product( $product->get_parent_id() ); $get_price_html = $parent->get_price_html(); } return $wwp_wholesale_prices_instance->wholesale_price_html_filter( $get_price_html , $product , $wwp_wholesale_role ); } return $price; } , 10 , 3 ); global $wc_wholesale_prices; add_action( 'woocommerce_before_mini_cart_contents' , array( $wc_wholesale_prices->wwp_wholesale_prices , 'recalculate_cart_totals' ) );
Note that you may need to update this part of the code $product = wc_get_product( $cart_item[‘product_id‘] ); to the product you were adding to the cart in the snippet.
You can get the product ID by editing the product in the backend and looking at the URL: https://prnt.sc/91ZAnf3BEYJN
Alternatively, you could try out 3rd party mini cart or side cart plugins available on the WordPress plugin repo: Side Cart Woocommerce (Ajax) – WordPress plugin | www.ads-software.com
hi @thelaserclinique ,
Sorry, I don’t quite understand the issue you are facing.
But reading between the lines you are wanting the customer to buy a hardback book and in turn get a free paperback book. You then set the hardback book in the customer buys section and the customer gets section the free paperback.
Now in cart, I assume that even though it has a hardback book in the cart it’s not giving the free product? Can you please confirm on customer buys that it’s using specific or others, Screenshot by Lightshot (prnt.sc)?
If you have it set to specific then it’s likely not working as intended as the customer must buy the mentioned/set hardback of 1 each. If you’d want it to read any hardback set it to Any Combination of Products
Let me know how it goes.
Hi @carmen2021 ,
That error could be due to plugin conflict or theme conflict. Please try running some basic debugging. For reference read here: How To Conduct A Basic Debug For Wholesale Suite – Wholesale Suite (wholesalesuiteplugin.com)
If you only have Woocommerce and Wholesale Prices with a compatible theme like storefront and still face issues, please try re-installing our plugin.
Hi @startechmarketing ,
Sorry about that, may I know which documentation you were pertaining to? A link to it would be great.
We’ll take a look and apply appropriate updates. Looking forward to hearing from you.
Cheers,
hi @samefc4 ,
Please add the following CSS to your website, you can do so by going to Appearance > Customize >Additional CSS
If everything goes well, it should look like this: Screenshot by Lightshot (prnt.sc)
.original-computed-price{
text-decoration:none !important;
opacity:1 !important;
}.original-computed-price:before{
content: “Retail Price: “;
}Hi @cikytheoriginal ,
I’ll assume you were pertaining to the manual order in Woocommerce > Orders > Add Orders
If so, I’m afraid we currently do not support this but there’s a workaround this by using a 3rd party plugin: User Switching – WordPress plugin | www.ads-software.com
Essentially, you’ll switch to the user and order on the frontend, since it’s treated like a regular wholesale order the wholesale settings and price is followed.
For more information: Can I Order On Behalf Of My Wholesale Customers? – Wholesale Suite (wholesalesuiteplugin.com)
Let me know if you have other questions.
Hi @dabesa ,
I’d suggest running a basic debug to check for conflicts, you can easily check this by disabling all other plugins excluding Advanced Coupons & Woocommerce, while at it also trying temporarily changing themes to the storefront or 2021 theme. You could also try re-installing our plugin.
In most cases, if the store credits do not apply it’s likely a conflict somewhere.
Generally, store credits should be shown like this when applied: https://www.loom.com/share/d0c1f1f3d6a449b495b3f37cf7bd0602
Hi @dabesa ,
Based on the screenshot I assume it’s based on the order summary? If so, I believe the customer is using a regular coupon instead of store credits.
On the order summary, it should look like this: https://prnt.sc/00PGlePmnO4g
If it’s the regular checkout then it shouldn’t say Coupon: store credit but say something like Store Credit Discount
From the image, it seems to be a regular coupon that’s not discounting anything, it also further supports this as it states the word Coupon. Can you please go through your coupons and see if there’s a coupon code for store credits?
Also, you can head over to Coupons > Store Credits and view the customer to double-check that store credits have been used: https://prnt.sc/qpraEZCgQGKL
If there are no regular coupons under the name, try doing a basic debug: How To Conduct A Basic Debug For Advanced Coupons – Advanced Coupons (advancedcouponsplugin.com)
- This reply was modified 1 year, 5 months ago by Jeff Alvarez.