I've changed this idea.
From
"is this product a preorder"
- yes
- no
To
"what is the product type"
- normal
- preorder
This allows the possibility in the future of adding in other types, eg backorder, subscription, giftcard, donation
should anyone be interested enough to extend.
Product Types
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Pre Order
That is already handled in Phoenix, right ?
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Pre Order
I've hit a roadblock on this, so I'm flowcharting again.
I think it can be done in a more fexible way, which would avoid the blockage, and make the system more extensible.
I think it can be done in a more fexible way, which would avoid the blockage, and make the system more extensible.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Product Types
OK, it's take all day but I am back to where I started, with the roadblock cleared.
Here is where I'm at;
https://youtu.be/zBBdV3goxTw
Note that this is only a "preorder" product type video...
There's some hard_coded language bits in the admin, but it gives a general idea of my direction of travel.
So far...all this done with NO core code changes.
Best of all, that roadblock is out of the way - users can just upload (properly formatted) files when they want to add in a new product type ( eg a product with a fixed date @puddlec ). Which would be one controller file (a "product_type") and helper hooks to change things that need changing.
In the example video, that is 3 "helper" hooks;
siteWide
- adds the extra card details
- 0:24 in the video
product_info
- updates schema
- adds message
- changes button icon and colour
0:28 in video
shopping_cart
- adds message
- changes button icon and colour
0:41 in video
Here is where I'm at;
https://youtu.be/zBBdV3goxTw
Note that this is only a "preorder" product type video...
There's some hard_coded language bits in the admin, but it gives a general idea of my direction of travel.
So far...all this done with NO core code changes.
Best of all, that roadblock is out of the way - users can just upload (properly formatted) files when they want to add in a new product type ( eg a product with a fixed date @puddlec ). Which would be one controller file (a "product_type") and helper hooks to change things that need changing.
In the example video, that is 3 "helper" hooks;
siteWide
- adds the extra card details
- 0:24 in the video
product_info
- updates schema
- adds message
- changes button icon and colour
0:28 in video
shopping_cart
- adds message
- changes button icon and colour
0:41 in video
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
ArtcoInc
- Contributor
- Posts: 119
- Joined: Fri Oct 25, 2019 4:19 pm
- Phoenix Version: v1.0.3.0
- Has thanked: 86 times
- Been thanked: 17 times
Re: Product Types
(I haven't looked, so forgive me if this has already been addressed)
How could I indicate that I have, say, 100 pieces on order. And, can accept combined pre-orders of only those 100 pieces, and no more?
M
How could I indicate that I have, say, 100 pieces on order. And, can accept combined pre-orders of only those 100 pieces, and no more?
M
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Product Types
Update products_quantity to 100 <--- product adding/editing page
Disallow buying at 0 in stock <--- somewhere in admin
I *think* that is covered already in Phoenix?
I don't remember the exact setting (it's somewhere in Admin).
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
ArtcoInc
- Contributor
- Posts: 119
- Joined: Fri Oct 25, 2019 4:19 pm
- Phoenix Version: v1.0.3.0
- Has thanked: 86 times
- Been thanked: 17 times
Re: Product Types
If a customer buys both an 'available' item *and* a 'pre-order' item in a single order, how would you handle shipping? Assuming that the 'available' items ship now, and the "pre-order" items later, would you have only one shipping charge? If not, how would you handle the two shipping charges?
M
M
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Product Types
ArtcoInc wrote: ↑Wed Jul 16, 2025 9:15 pm If a customer buys both an 'available' item *and* a 'pre-order' item in a single order, how would you handle shipping? Assuming that the 'available' items ship now, and the "pre-order" items later, would you have only one shipping charge? If not, how would you handle the two shipping charges?
M
Otherwise, as you rightly say, shopowner get into the realms of double shipping charge, potential payment and invoicing problems etc.
Unfortunately I'm not able to take the time to solve all that.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
LeeFoster
- Contributor
- Posts: 263
- Joined: Sun Feb 28, 2021 9:41 pm
- Phoenix Version: v1.0.8.20
- Has thanked: 1 time
- Been thanked: 5 times
Re: Product Types
I sometimes order from a site that offers mixed in stock and pre-order items, they ship it all at once when the pre-order item comes in. I'd say as long as you make it clear they will be waiting for all items to be in stock most people will understand.
@burt have you also considered moving digital items to being a product type?
@burt have you also considered moving digital items to being a product type?