Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 10th, 2011, 09:06 AM
sammoola10 sammoola10 is offline
 
Join Date: Jan 2011
Posts: 2
Default How to Set Up Coupon/Deals Feeds

Hello,

I am trying to set-up a site that displays coupons/deals feed for individual stores. I know that CJ, Share-A-Sale, and Google Affiliates all have the ability to export deals links for those stores. Can datafeedr automatically collect & display those links? If so, how?

As an example, something similar to this attachment that was loaded is what I'm trying to do, except I would like a single page to show multiple coupons for just one store: http://www.datafeedr.com/forums/atta...3&d=1235233081

Thanks in advance,

Last edited by sammoola10 : January 10th, 2011 at 09:13 AM.
  #2  
Old January 10th, 2011, 10:07 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Currently, we only support coupons from ShareaSale, Pepperjam and Affiliate Window.

I created a coupons template that you can use wherever you want to display a list of your coupons. Of course you can modify it. This code needs to be placed in a "Product list" module.

Here's some sample code:

Code:
<h2>Coupons</h2>

[product.each]
	<p>
		<a href="[product.link]"><strong>[product.name]</strong></a> 
		from <span style="color:#999;font-size:85%;font-style:italic;">[product.merchant]</span><br />
		[coupon.description]<br />
		<small>
			<strong>Code:</strong> [coupon.code]<br />
			<strong>Restrictions:</strong> [coupon.restrictions]<br />
			<strong>Begin Date:</strong> [coupon.begin]<br />
			<strong>End Date:</strong> [coupon.end]<br />
		</small>
	</p>
[product.end]


<div class="pgr">
  Pages:
  [pager.first text='&lt;&lt;first ' alt='']
  [pager.prev text='&lt;previous ' alt='']
  [pager.pages delim=' ']
  [pager.next text=' next&gt;' alt='']
  [pager.last text=' last&gt;&gt;' alt='']
</div>
And here is what it produced on my test site:



Eric
  #3  
Old January 14th, 2011, 10:54 AM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

Eric

I'm also trying to add Affiliate Window Coupons to my site dysoncompare.com. I gather there's a different way of setting this up than just going to categories, and adding views.

Could you explain briefly what is required?

Paul
  #4  
Old January 14th, 2011, 12:27 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

If you want to display coupons formatted differently than regular products go to Factory > Your store > VIEWS > CATEGORY PAGE > Add a new view. In the pop-up window, choose the category responsible for displaying your coupons and then apply the Views code to a Product list module.

Eric
  #5  
Old January 15th, 2011, 12:22 PM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

Hi Eric

I've set up the coupons here: http://www.dysoncompare.com/coupons/ but I want to omit "[" & "]" that are showing up in the [product.description] tag. Any ideas?


At the moment the [product.description] tag looks like this:

[Offer begins: 2011-01-12; Offer ends: 2011-01-19; Coupon code: KITCHEN5]


I would like it to look like this:

Offer begins: 2011-01-12
Offer ends: 2011-01-19
Coupon code: KITCHEN5

Paul

Last edited by cyberil : January 15th, 2011 at 12:26 PM.
  #6  
Old January 15th, 2011, 12:28 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

You need to use special tags for coupons. I set up a new CATEGORY PAGE view named "coupons" in the Factory for you. That will give you a different layout just for your Coupons category.

Check it out and if you want to use it, just update your store.

Eric
  #7  
Old January 15th, 2011, 04:01 PM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

Thanks for that Eric but without sounding stupid how do I update the store?

I've updated the store through WP and I already have a 'coupons' view from before (which may be causing problems) and the code I have on the page is [DFR:coupons?]. However, there's no change.

Last edited by cyberil : January 15th, 2011 at 04:05 PM.
  #8  
Old January 15th, 2011, 04:16 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

I see what you've done. Here's what your code is currently:

HTML Code:
[product.each]
  <p>
    <h3>[product.name]</strong>
      from <span style="color:#999;font-size:85%;font-style:italic;">[product.merchant]</span></h3>
    [coupon.description]<br />
    
      [product.description]<br />
      <hr>
    
  </p>
<br>
[product.end]
There are a few problems:

You have this </strong> but not starting <strong> tag

[coupon.description] is not outputting anything because there is no description for these coupons.

[product.description] will just give you an unformatted list of coupon information.

I would do something like this:

HTML Code:
[product.each]
<p>
	<h3>
		[product.name] from <span style="color:#999;font-size:85%;font-style:italic;">[product.merchant]</span>
	</h3>
	Begins: [coupon.begin], Ends: [coupon.end],  Code: [coupon.code], Restrictions: [coupon.restrictions]
	<hr style="margin-top: 10px; margin-bottom:10px;">
</p>
[product.end]
If you don't need it, you can create the view named "coupons" under the CATEGORY PAGE menu.

Eric
  #9  
Old January 15th, 2011, 04:24 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Actually, I just noticed that you have an <h3> tag inside a <p> tag. This is invalid. Try something like this:
HTML Code:
[product.each]
<div style="margin-top: 10px; margin-bottom:10px; border-bottom: 1px solid silver; padding-bottom: 20px;">
	<h3>[product.name] from <span style="color:#999;font-size:85%;font-style:italic;">[product.merchant]</span></h3>
	Begins: [coupon.begin], Ends: [coupon.end],  Code: [coupon.code], Restrictions: [coupon.restrictions]
</div>
[product.end]
  #10  
Old January 15th, 2011, 05:07 PM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

Hi Eric

I'm still having a nightmare with this. It won't work.

I've deleted the view I set up and will use yours instead.

This is what I have so far:

FACTORY
Views: Category Page: coupons (the one you set up and the same as the one I tried earlier)
use request url

Categories: coupons
Products added by subscription

WEBSITE
Inserted code: [DFR:coupons?]

Please help me as I think I might end up jumping out the window....
  #11  
Old January 15th, 2011, 05:12 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Can you PM me the following information:

BLOG LOGIN INFO with ADMINISTRATOR PERMISSIONS (Temporary login information preferred)
Admin URL:
Username:
Password:
  #12  
Old January 15th, 2011, 06:21 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Well, we're almost there...

I've configured this page properly: http://www.dysoncompare.com/coupons/

But we have another problem. For some reason the coupon details aren't getting displayed. This is a bug on our end that we need to get fixed.

I will update you when that bug is fixed. Then you'll just need to update your store and everything will be running perfectly.

Eric
  #13  
Old January 16th, 2011, 04:27 AM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

OK thanks. Just so you know also the page numbers take you to a 404
  #14  
Old January 16th, 2011, 10:21 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

The coupon text should be working for you now. You will need to upgrade the plugin and update your store.

Quote:
Originally Posted by cyberil View Post
OK thanks. Just so you know also the page numbers take you to a 404
Yes, that's a current bug: http://www.datafeedr.com/forums/showthread.php?t=3582
  #15  
Old January 16th, 2011, 01:37 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

It turns out that embedding a Custom View which has pagination into a WP Post or Page is not possible. If you want to display a Custom View which has pagination as its own page, you will need to use the page Datafeedr creates (ie. site.com/store/custom-view-name).

@cyberil - If you need help with setting up your Custom View page, let me know and I can log into your WP account and set that up.

Eric
  #16  
Old January 16th, 2011, 04:27 PM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

Hi Eric

If you could do please as I'm unsure how to do this. I have 2 more sites to build so at least I can use this as an example.

Paul
  #17  
Old January 16th, 2011, 05:01 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

OK, you're good to go. I did the following:
  1. Restored "Store" from trash
  2. Renamed "Embeddable Coupons" to "Coupons"
  3. Set the custom view to use layout (View Properties)
  4. Upgraded Datafeedr plugin
  5. Updated store
  6. Deleted old "Coupons" WP Page
  7. Prevented link to "Store" from appearing in Menu
  8. Added link to "coupons" page in menu
  #18  
Old January 17th, 2011, 05:16 AM
cyberil cyberil is offline
 
Join Date: Jan 2011
Posts: 57
Default

Thanks one again Eric. Your customer service is legendary. If only all companies were the same as yours.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:30 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.