my question is: I have 2 products configured in my WooCommerce plugin for WordPress.
Now I want "hide" a product if the user hasn't bought another one (and make it unavailable)
For example: I have the 1st product and the 2nd product
if I buy the 1st product, I'm able to buy the 2nd one, but if I don't buy the 1st one, the 2nd must not be available (the "Buy" button need disappear from the 2nd product)
Is it possible? Thanks.
Hmm this is not quite what you are asking for but this is a premium option that allows you to add rules to the display products. Its probably worth a look. https://docs.woothemes.com/document/woocommerce-conditional-content/
You could also try working backwards off something like this depending on your skill level. https://gist.github.com/codearachnid/9259601
Related
if I sell a product from the backend, not from the shop front-end, I would like to change the price for this order only, not in the product table.
I have searched for variable-price products but cannot find anything that fits my needs.
I found variations and discount rules but I just want to change the price when I make an invoice from the backend, maybe through a dummy product where I can change the description too.
Anyone an idea if this is possible?
With the POS systems I support (Chromis) or in front accounting this is possible.
BTW if someone has a link to a WooCommerce-forum where users help users I would be happy.
Regards,
Jan
thanks for the reaction.
I have got an answer from another forum, in Woocommerce one has to enter the order first and afterwords the price is editable.
You cannot see this straight away, first you must put the mouse in the part with the positions, then the pencil to edit appears.
Not the most elegant way but usable.
And i did found more forums.
Regards,
Jan
I've been looking for an answer to this. Client has a woocommerce shop that will only ever have one of each product. What I need to accomplish is that when a product is added to their cart, the item is unavailable for anyone else to add the same product to a cart. I've tried the old plugin but it breaks portions of the front end, I've tried using several similar solutions I've found here, but nothing seems to do the trick. The plugin also made inventory management on the backend a total nightmare.
So, to walk you through, user A adds product A to cart. User B tries to add this product to cart but woocommerce says its sold out currently to user B. User A can checkout with product A or if user A closes the browser, woocommerce waits one minute and then puts product A back in stock so person B can then add product A to their cart.
I've been searching for this and have come up with nothing from here and some company claiming they can but it's done case by case and they want to handcode it aka very expensive to do.
Please, help!
Just an opinion here so maybe I am wrong, but woo commerce uses stock counts in the backend, so if this is set to 1, then there can only ever be one that can go through the checkout process unless cancelled.
The functionality to reduce that stock count to 0 whilst a user has that item in their basket (or just viewing the checkout page) is not feasible as they have not purchased, at that stage it is just showing intent to purchase.
As you mentioned, that functionality is possible, it wouldn't be pretty, but possible and not something that is available by default in the plugin. Development of such functionality would be needed, and you're right probably quite expensive for development time.
Good day,
I need some advice if this is possible on wordpress? I have a classified site and I want to create a newsletter that would have multiple categories each category would just have a list of title that has links to the item page.
The hard part is I need a check box on the registration and user profile page that will enable them to select which category they want on their newsletter and uncheck which one they don’t need. The reason for this is the list on each category can be too many and users might not want to see listing about ex. community or announcement etc.
Another feature that I need is for paid listing to stay on the newsletter for the duration of its package and for free listing to only show the day it was posted even though it has 5 days to stay on the site
I am open to use any options like mailchimp, awebber etc. as long as it works
Ex.
Hot Deal <-Category
1.) New Arrival comfort footwear
Forsale <-Category
1.) Xbox one fresh inbox
2.) Ps4 brand new
Many thanks
There is a plugin
which will help you to make users subscribing to category.
That plugin lets a user subscribe and unsubscribe to posts within a certain category or categories.
Subscribers will recieve an e-mail with a link to the actual post.
And the post type may be anything like product or news etc ;)
But you may endup doing some customize coding to get what exactly you are looking for.
Specially wants to change functionality of those pages with custom coding.
Example: If any one ask for Buy two and get one free for similar category product, then what would be the best procedure to carry on. With out plugin need solution.
Well if you dont have much experience with woocommerce then i would suggest to stick with its default functionality.
Although "buy 2 get one free" kind of plugins would be perfect for this job but as you dont want to use plugins there is one more way. You can create a variable product. In your product page, mark it as variable product and then add variations to it. You can set one variation as "buy one" with a price of lets say $50, and make it the default variation and then add another variations "buy 2 get 1 free" with a price of $100. You can also add different images with each variation.
Now on your product page, you will be able to see a drop down (or if you like radio buttons you can use it too) with the default saying "buy one" with price of $50, and when some one clicks on the "buy 2 get 1 free", the price will automatically change to $100.
Yes, it is. The first step would be to get access to the relevant files. You can do that in several ways but the best way to go about it for your case will be to use an FTP client such as Filezilla. You can also access WooCommerce's files through the WordPress admin panel under Plugins->Editor. Bear in mind, however, that WooCommerce is a fairly massive and complex plugin and it will likely take considerable time and skill to locate the relevant files and code. Happy coding!
I have a Drupal website with the UBERCART module to accept donations in the form of adopting a book in my library. I need to add an option in the cart page before the checkout to add an entry to the cart with the value of 3% of the total order to cover the payment transaction fees.
It could be a check box that says..
[_] I wish to add 3% to cover the online transfer fees.
Any Ideas of how to implement this? Thanks
I'm not sure how to set up an optional fee, but for required fees, this module will do it:
https://drupal.org/project/uc_fee
Unfortunately there seems to be no version for Drupal 7 yet.
Also, it's a little quirky in some ways...for example, if you want to create a fee to be applied to all products of a particular class, by default that fee gets applied at the cart level, meaning that that a long as the cart contains at least one product of the type you specified when creating the conditional action, the fee will be applied to the other products in the cart as well. If the fee only should be applied once per order then you can just set Max Applications to zero, otherwise...
The process to apply a fee to each product in the cart of a particular class is as follows:
Create a fee at Store administration > Fees with a price of zero
Click the "conditions" link next to the fee (again, from Store administration > Fees) and say the cart needs to contain at least one product of your desired class
Go to Store administration > Products > Manage classes, click "edit" for your desired class, go to the Fees tab and override the price to be whatever the fee should be.
Create products of that class. If your products are already created, it appears you need to edit each already-existing product and override the fee there (on the Fees tab); unfortunately the product-class override only appears to apply to products created after the setting was changed.
I realise it's a long time since this question was posted, but it came up in search when I was trying to solve a similar problem. Since it hasn't been satisfactorily answered after all this time, I thought I'd share the solution I found for my own problem.
There is some sample module code here:
http://www.stevenalanwilson.com/articles/open-drupal-pages-using-built-overlay
I created my own module with this code to allow customers to specify if they live in a rural area. If they check the box, a $5 rural delivery fee is added to the cost of their order. The label on the checkbox and the value of the fee can be set by changing the code in the module.
The scenario asked here would need some additional coding to calculate the 3% fee based on the value of the order, which shouldn't be too hard to achieve.
if you are using drupal 6 then visit these link in your site
Administer -> Store administration -> Configuration -> Shipping quote settings
then visit the "quote method" where you can define your shipping quote setting
once you understand the method for creating shipping charges, you can apply whatever shipping rate you want to charge.