- This topic has 1 reply, 2 voices, and was last updated 13 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Random Buy Now Products in a Widget
Tagged: php functions, random, widget
I’ve found the PHP Functions and know how to get them to work in a widget. I’m wondering if I can have random buy now products show up in a widget area when a page refreshes.
I have a flexible template that lets me insert widget areas in the content area. Even if I just had it in a side bar I’m suspecting it would increase sales if I could have a strong call to action and one-click sales process.
I have over 500 posts and would like to have my products available on all of them.
All you have to do is generate a random number between 1-500 (since you have 500 products) then pass the generated random number to the eStore’s function as the product ID. So PHP function of eStore are you thinking of using?