aguidis
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] How to test payment by paypalOk thank you for your reply i’ll test it ??
Forum: Plugins
In reply to: [WooCommerce] How to test payment by paypalI don’t know why this post is duplicated… I tried to edit one of them, anyway this is the original message :
“I know many people asked for this question but I didn’t find a proper way to do it. How to add a simple meta_query (product_cat) before the execution of the shop page’s query.
Maybe by using a filter ?”
Forum: Plugins
In reply to: [WooCommerce] Protect a product by passwordI post what I found :
I updated content-single-product.php and I put this condition :
if ( !post_password_required() ) { // Display your product } else { echo get_the_password_form(); }
Forum: Plugins
In reply to: Remove the Product Count on Woocommerce CategoriesYou can also remove the action hook like :
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20 );
Forum: Plugins
In reply to: [WooCommerce] Protect a product by passwordThank you for your reply. Indeed I think it’s a theme issue : I created my own theme. I thought the function the_content() could handle each kind of visibility. So I have to inspect the TwentyEleven theme in order to get the good snippets ?
Forum: Plugins
In reply to: [WooCommerce] Protect a product by passwordI already tried like I said ?? I don’t have any password form.
Forum: Plugins
In reply to: [Social Login] Custom facebook buttonIn my login-form.php, there is this script:
<script type="text/javascript"> oneall.api.plugins.social_login.build("oneall_social_login_providers_xxxxxx", { "providers": ["facebook"], "callback_uri": (window.location.href + ((window.location.href.split('?')[1] ? '&':'?') + "oa_social_login_source=login")), "css_theme_uri": "https://www.yoursite.net/wp-content/themes/yourtheme/style.css" }); </script>
I just changed css_theme_uri
Forum: Plugins
In reply to: [WooCommerce] Advices to implement a complex stock managementYou are totally right, I’ll just manage stock levels on other possible variations.
Thank you for your clear explanations.Forum: Plugins
In reply to: [WooCommerce] Advices to implement a complex stock managementSorry for the double post, but what do you think about this plugin : https://www.woothemes.com/products/chained-products/ ?
Forum: Plugins
In reply to: [WooCommerce] Advices to implement a complex stock managementThanks a lot for your quick answer.
I see what you mean.
Is it possible to satisfy my need despite everything ? I mean with a plugin maybe ?Regards,
AdrienForum: Plugins
In reply to: [Plugin: WooCommerce] Remove Widget TitleTry this in your functions.php :
add_filter( ‘widget_title’, ‘__return_false’ );
First of all, thank you for your demo ! It’s nearly the idea I would like.
I have read again the specifications and the client has two distinct packages.
The client has to choose between “Equipped” (10$) and “No-equipped” (49$).Then he has the possibility (whatever his equipment) to add other stuff (like grenades, ammos etc.).
The client wants to manage the stock of grenades, ammos too. Is it possible ?
To finish, the client has to select a team. Of course we have to set a stock limitation for each one. I tried to do it (see my last post) but without success
I’m encountering another problem with some variations.
I have set those variations :
– Equipped, green team : 10$
– Equipped, red team : 10$– Non-Equipped, green team : 49$
– Non-Equipped, red team : 49$But I’m not satisfied with those varitations because I can’t set a stock for each team and a different price for each “Equipment”. So I tried those variations :
– Equipped, Any team : 10$
– No-Equipped, Any team : 49$– Any Equipment, green team : 10 in stock
– Any equipment, red team : 10 in stockNevertheless the price doesn’t change when I select “No-equipped”… The price is still 10
The client will publish new matches gradually. He just wants a page where all of the available matches will be displayed.
Then the user will select the match and reserve it (with options or not). I apologize if I was not clear, of course the payment is done online.
Thank you both for your detailed replies.
@citynode: It will be more practical for my client to have this organisation. I mean the only e-commerce part of the future site concerns only the reservation. He prefers to have a global view with the different options associated.
Now, thanks to your previous comments, I would like to have your opinion about the way to proceed.
So if my proposition of variations is correct, I just need to couple them with the addon ?