Hello,
N.B - I'm not a developer/scriptwriter.
We dropship 99% of our items but unfortunately, one of our Vendors who we stock around 8000 Items has closed all their warehouses due to the virus. It doesn't make sense to make all those items inactive and take them off the website, so I've been trying to get my head around this issue and one way I've thought of is to display a pop-up, so when a customer visits one of these 8000 items it tells the customer - "Unfortunately this item is no longer being processed by the manufacturer due to the warehouse being closed indefinitely. However, you can still order this item and we will try to process your order when the warehouse reopens and if the stock permits otherwise we will refund you".
This way the customer is aware and we won't have to take 8000 items offline. So far I've tried my hands on a workflow again never done one of these but this is what I got so far (see images).
So just trying to work this (in my head).
- I've selected Inventory items as that's what's going to be affected
- Selected Event-Based -> On View, as I want the customer to view the product to display the message.
- Trigger type -> Before Page Load, I don't know if this is wrong but anything before or after should work.
- Event Type -> View (Again when Customer views the item record).
- Context -> Want this to display on the Web store.
- Not used anything under Condition but that Search shows 6 test items so I can create a search to bring in those 8000 items once this is working.
- States - not selected any because I don't understand them
If anyone else has any other solutions then I'm all ears.
- Update -
Moving to Ask Guru, urgently need an answer, waited 2 days under Website Sub Cat.