Change prices according to quantity and location - wordpress

I need to change the prices of various articles in WordPress, according to the quantity that is requested, and in the same way that the prices are different depending on where you are buying. For example, buying 1 apple in Mexico costs 5 dlls and buying 5 costs 20 dlls. But buying 1 apple in the US costs 8 dlls and buying 5 costs 36 dlls. Any plug-in or way to do it?

As in the comment above, I solved this with two WP plugins, the first one is Country Based Restrictions which allowed me to create products and decide in which countries they can be seen. The second is Dynamic Pricing With Discount which you can create different prices depending on the number of products

Related

Product Summary in Woocommerce

I am setting up a woocommerce site for a grocery delivery service and need a way of getting a summary of what has been ordered by customers each day. It needs to be a summary by product (i.e 5 x Bread, 3 x Milk etc) and preferably by supplier.
Ive looked for plugins for woo but cant seem to find anything suitable.

Track the quantity of optional services for the products woocommerce

I am trying to solve a dilemma that has been gripping me for several weeks. I will try to explain the problem in the best possible way. I have a website that allows you to request a quote for a cycling tour, choosing the route and optional services. The structure is that of a classic woocommerce product but bookable through the "booking for woocommerce" plugin. I added the "add-ons for woocommerce" plugin to be able to insert optional services within the product, including the possibility of renting a bicycle between two possible models of bicycles. The problem is that I don't have a stock of the bikes that are booked every time. If I only have 5 bikes and one person books a tour for 6 participants and adds 3 bikes, then another person books for 4 participants and adds 2 bikes, then another person can continue adding bikes because there is no warehouse that keeps track of these bikes.
Anyone have an idea how I might structure this thing? I can't really resolve. Thanks in advance.
Url of a single tour: https://www.abybike.it/escursioni-brevi/capodorlandonaso-interagiornata/

Query many webpages to get all products of a webstore?

for personal interest I wanna create a list with all products a webstore has. In Germany there are two big companies called "Media Markt" and "Saturn". "Media Markt"'s system is easy, they use a 7 digit number as ID for their products. So I wanna get all those products but I think doing 10 million requests in 12 threads (bcs of my PC has 12 cores) in a short time will overwhelm the server or make the server ignoring my requests after a short time. What can I do to get this list with all products?
I am thankful for any ideas.

Single stock for 2 products Woo Commerce

We are using tickera with woocommerce that used to build an event ticket webshop.
There are a couple of different types of tickets. Early bird VIP, Early bird, regular,... All of them have their own stock. So for Early bird VIP, it will be 100 tickets. early bird will be 300 and regular will be 1000 for example. This all works perfectly and the last year they have been using this without a problem. Now comes the big issue. They introduced Memberships (I am using woo commerce memberships) to handle this so they can buy cheaper merch and tickets. The stock keeping with the membership goes like this: for Early bird VIP it will be 100 tickets. early bird will be 300 and REGULAR & MEMBER tickets will share the same stock of 1000 tickets. So I created 2 products 1 member product and 1 regular product to make sure it is clear on the ticket what type of ticket the user bought. But this fucked the complete stock keeping. Because 2 woocommerce products can not have the same stocks. I can not figure out how I should do this.
I reached out to tickera, They told me to use 1 product with 2 variations.
regular
member
The variation type will be added to the pdf export & ticket itself so it is clear what type of ticket was bought.
In combination with the variations setup you could also use Shared Variation Inventory plugin from the woo-commerce website itself. It makes it easy to sell in bulk.

Variable product stock in Woocommerce

We have a Wordpress page, with variable products.
We have 2 different attributes we use for the variables. Rent/buy and Size.
I know I can pick whether i want the stock to be shared between all variations, or specific to all variations.
What I am looking for, is a way to have rent/buy share stock, but not the sizes.
Is there any way this is achievable without creating several products (or if that isn't possible, a product for buy and lease)?
Example: 'Red leather boots'
Rent size 44
Buy size 44
Rent size 45
Buy size 45
Rent size 46
Buy size 46
Whenever someone picks a size 45, i want that one to go down 1 in stock, both the rental and the one you can buy (but not the size 44 or 46).
Looking forward to any input!
This is not possible in WooCommerce, but can be done easily with Attribute Stock for WooCommerce.
Instead of tracking stock at the product/variation level you can track an attribute stock item that is associated with both Rent and Buy. Then, whenever a product with one of these terms is purchased, the stock item will be reduced accordingly.
Disclaimer: This is a plugin that I developed and recently released. Feedback is welcome! 🙂

Resources