Custom units for “Buy Now” functionality
You can create unlimited types of units for “Buy Now” option.
To create a new unit:
- open DJ-Classifieds
- navigate to unit page
- and click “New” to create a new unit
![](/templates/yootheme/cache/51/newunit-5167d178.png)
Now, when the user is adding the advert, the units can be chosen
On frontend in the advert you can see the name that was chosen during advert submission:
![](/templates/yootheme/cache/60/03-front1-6037dda3.png)
When someone purchases the item the stock is automatically corrected:
![](/templates/yootheme/cache/ae/04-front2-ae1e70db.png)