March 21, 2015 at 2:40 pm 39681
|RevolvedMedia||We would like to be able to charge a fixed price to feature (sticky) a product for a set duration. The scenario: - Seller logins in to dashboard - Seller fills out the add new product form: Options: 1)Add a check box [ ] Feature Product for $xx.xx When checking the box - the user is taken to checkout to pay for the feature placement 2) Light box pop up "Would you like to feature your product" Yes/No Yes - Take them to checkout to pay for feature placement No - Close light box Upon payment confirmation product is made sticky and automatically set to approved from pending. - cron function to unstick expired featured (sticky) products Let me know if this is something in the works or if I should begin moding or creating an addon to do so. Thanks for any information, Rob|
March 21, 2015 at 2:45 pm 39684
Thank you very much for your great idea. We do not have this feature right now. But we will work on featured product for seller. We did not start it yet.
Thank you 🙂
March 25, 2015 at 8:17 am 39939
I’m going to be working on this as well, I hope you don’t mind but I will document files changes here to help me keep track of what files I have modified and where. As well this might help you in implementing this feature faster.
March 25, 2015 at 9:04 am 39943
Line numbers listed are placement within the modified file and will not reflect the location to insert the code in an original unmodified file.
//More to come….
March 25, 2015 at 11:10 am 39955
Sure, You are always welcome to share good things in our forum.
Thank you 🙂
March 25, 2015 at 11:17 am 39956
March 25, 2015 at 1:52 pm 39973
//Next we created a product category using the wp admin dashboard. The category will be used for site products only. This way we can utilize the build in cart and woocommerce payment system – and the woocommerce_order_status_completed to process our order 😉
For example purposes:
We’re using a sub category for our “Advertising” products as we may add additional products at a later date. Keeping our options open 🙂
We don’t want all stores to have access to this Category so lets filter out for anyone but admin.
Note, Dokan has two options for displaying categories selections: Single and Multiple. but we can handle both with a single variable.
We will want to make this change in two files:
Line: 100 // Added exclude value – RevolvedMedia – Modified – March 25 2015
Line: 120 // Added exclude value – RevolvedMedia – Modified – March 25 2015
Line: 290 // Added exclude value – RevolvedMedia – Modified – March 25 2015
Line: 315 // Added exclude value – RevolvedMedia – Modified – March 25 2015
Now the categories are hidden when editing or posting a new product.