-
AuthorPosts
-
August 30, 2015 at 1:17 am #495406
Hi.
I got your contact from the woo themes web site
We sell course places and use Woo commerce variable products.
This is an example of a working product: with only One course start date.
See private link in Private Content (link to your website
You will see regardless of which payment option you select the stock is the same and regardless of which payment option is sold “both payment options will reduce to the same amount as we only have X amount of places available.
We need to control stock levels so that it shows how many places are available on a start date, which works fine if we only have One start date.
This is how we do it and it works fine by using “Enable stock management at product level (ticked)”
Product Data: Variable product
Inventory: Enable stock management at product level (ticked)
Stock Qty: EG: 10
Sold individually: Enable this to only allow one of this item to be bought in a single order (ticked)
Next we set up the Attributes:
Attribute 1 Name: Start Date: Values: Wednesday 9th September 2015
Used for variation is ticked.
Attribute 2: Name: Payment: Values: Option One: Pay full course fees of £725 now | Option Two: Pay reg fee of £245 now
Used for variation is ticked.
We then save Attribute.
NEXT variations:
We set up Two variations: See . Screenshot 1
So this works fine as there is only One date and it does not matter how many price variations we set up, the total stock is per the amount we put in the inventory: “Enable stock management at product level (ticked)
Stock Qty: EG: 10” which then looks like this on the front end
See . Screenshot 2So when customer buys a course place at any of the course prices which is set in the “Attribute 2: Name: Payment: Values: Option One: Pay full course fees of £725 now OR | Option Two: Pay reg fee of £245 now”
The stock level will reduce as it should:
EG: Customer 1 buys: Option One: Pay full course fees of £725 now
The stock level then shows as 9 on the front end when the page is refreshed (we had 10 in stock to start with)
This is also the same if another customer comes along and chooses Option Two: Pay reg fee of £245 now”
The stock level then shows as 8 on the front end when the page is refreshed (we had 9 in stock to start with)
So this as said works perfectly and allows us to show the availability of real time course places available.
Now the issue we have is that we need to have more than one start date as an option so.
We set Attribute 1 Name: Start Date: to have 2 start date choices EG: Values: Wednesday 9th September 2015 | Tuesday 10th November 2015
But this is a problem because if a customer chooses one of the start dates and then one of the Attributes.
EG: Attribute 1: Start Date: Wednesday 9th September 2015 and then
Attribute 2: Name: Payment: Values: Option One: Pay full course fees of £725 now | OR Option Two: Pay reg fee of £245 now”
Big problem: It deducts the stock level from both start dates as in essence its coming from One variable product and then on the front it looks like we have less course places than we do.
Regardless of which start date they select or payment option they choose the stock is deducted from both start dates.
So that does not work so we tried this>
NEXT:
We have tried to then manage stock at variation level and not product level EG: : Enable stock management at product level (NOT TICKED)
Select manage stock in a variation and set a stock level.
EG:
Variation 1: Start Date: Wednesday 9th September 2015 Price Values: Option One: Pay full course fees of £725 now manage stock ticked, stock Qty 10 | OR Option Two: Pay reg fee of £245 now” .manage stock ticked, stock Qty 10
Variation 2: Start Date: Tuesday 10th November 2015 Price Values: Option One: Pay full course fees of £725 now manage stock ticked, stock Qty 10 | OR Option Two: Pay reg fee of £245 now” .manage stock ticked, stock Qty 10
But if a customer buys a course places from Variation 1: Start Date: Wednesday 9th September 2015 Price Option One: Pay full course fees of £725 now . manage stock ticked, stock Qty 10
This is reduced to 9 places but when the page is refreshed both the Price Values: Option One: Pay full course fees of £725 now manage stock ticked, stock Qty 10 | OR Option Two: Pay reg fee of £245 now” stock Qty 10 does not reduce across both the price values so it looks like a new customer we have a course with different amounts of stock depending on the price they select.
What we need it to do is combine the total amount of course places available (stock) regardless of what price a course place has been sold in the past.
The only way we can achieve this is to make a page with course dates on and make each course date on that page a link to its own variable product with that date on it pre filled and then they select the course payment option. This then allows us to set the stock level at product level.
Its just a waste having this extra step and them go to a page to select a course date then onto the product, surly there is a way to combine the total amount of course (products) places available for variable products?
I have tried every kind of payment variation and product type to achieve this, and looked on every forum i can find but with no luck, tried various add ons etc…
I simply want to have multiple start dates for a customer to select one of and multiple payment options to choose from and it reduce the stock level available on the front end for the course they have chosen regardless of the payment option they selected. Again by using “manage stock in a variation level” and set a stock level it only reduces the stock for the variation they selected and not the combined level of stock for the product.
It also makes it look like we have EG: 10 places at each price available but we don’t we only have 10 places in total/
There must be a way to achieve this??
Can you please advise me on the fix for this?
And quote on the possible way it can be done?
Many thanks in advance
August 31, 2015 at 3:09 pm #495866Hi midischool!
It would be best to contact Woocommerce support about this customization. If they do not have a freelancer they can refer you to then you could try hire a freelancer as well.
Best regards,
Elliott- This reply was modified 9 years, 2 months ago by Elliott.
-
AuthorPosts
- You must be logged in to reply to this topic.