You are here:  » Sending search results daily via email

Support Forum



Sending search results daily via email

Submitted by apoc on Fri, 2011-04-08 19:27 in

Hello forum,

Certain listings on my site change on a day to day basis. What I would like to be able to do is enable my visitors to subscribe to specific search results which can then be sent via email on a simplified page.

So, the solution would be to have a textbox that collected the visitors email and the url that this form was submitted on.

I would then have the required search string and the email address to send it to.

I could then make a simplified search.php, call it minisearch.php for example and embed it into an email to the suscriber.

How much of this could be integrated into the pt admin and could it be automated?

Can I create a file that will extract the required results for each subscriber, place them into minisearch.php and send the page to the correct email address on a schedule?

Many Thanks, TPH

Submitted by support on Sat, 2011-04-09 10:47

Hello TPH,

It's a relatively straight forward function, bear with me and I'll have a look at it with you at the start of next week!

Cheers,
David.
--
PriceTapestry.com

Submitted by apoc on Sun, 2011-04-10 14:16

Thanks David :)

TPH

Submitted by Bigmac on Tue, 2011-04-12 09:18

Hi David,

I would also really be interested in this, too.

Cheers,

Hamish

Submitted by apoc on Tue, 2011-04-12 11:15

Hi Hamish,

What type of deals are you offering a subscription to if you don't mind me asking? Special offers etc??

TPH

Submitted by Bigmac on Tue, 2011-04-12 16:53

TPH,

It's for a niche site that isn't just affiliate feed related. I have a plugin for Wordpress that does something similar and sends out a digest of the latest published posts but I wanted something to work with PT as the bulk of what I am trying to do is PT.

I hope that helps.

Cheers,

Hamish

Submitted by apoc on Tue, 2011-04-12 19:30

Ok, I have brainstormed what I need the script to perform (even though I do realise it is quite out of PT's scope, it is something I think could turn into one of my system's most powerful features to place myself between the merchant and the buyer on a regular basis)

Here is a quick scenario..

My site sells boxes, all of the boxes that are in the feeds are the same shape and size, just the colour is different.
There are 10 merchant feeds all with a range of these boxes in different colours.
The price of the boxes change on a daily basis.

Visitor A buys boxes on a daily basis but only wants red boxes.
Visitor B buys boxes on a daily basis but only wants blue boxes.
Visitor C buys boxes on a daily basis but only wants orange boxes.

One day Merchant one will have the cheapest yellow boxes, and other days Merchant two will be cheaper for yellow.

So what I need to do is collect 2 variables from the visitor.

1)The colour of box they require ($color)
2)Their email address ($email)

I have built a simple, single column page that is intended to be sent complete in an email (so the page actually displays in the subscribers inbox). I have implemented the searchExternal.php which I can pass the $color variable to the $q string and display the relevant coloured boxes. Where I struggle is building the function to skim through the subscriber table and assign each $color to each $email and send the page via cron.

Does anyone have any ideas or suggestions on this matter.

Thanks in advance, TPH

Submitted by mgmedia on Fri, 2011-06-10 14:56

Hi ,

This sounds very similar to what my business partner is asking from our site. He wants to collect information on what users are looking for and collect their email addresses so that we can send them information on related products. I would be very interested in this buy the sounds of it, seems to be what we need.

The initial post sums it up pretty much exactly like what I imagine my guy wants. I won't lie, it's a far better idea that what I had and would be perfect.

Cheers, Ben