Datafeedr Support Forums

Datafeedr Support Forums (http://www.datafeedr.com/forums/index.php)
-   Questions (http://www.datafeedr.com/forums/forumdisplay.php?f=67)
-   -   How to Set Up Coupon/Deals Feeds (http://www.datafeedr.com/forums/showthread.php?t=3569)

sammoola10 January 10th, 2011 09:06 AM

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,

Eric January 10th, 2011 10:07 AM

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

cyberil January 14th, 2011 10:54 AM

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

Eric January 14th, 2011 12:27 PM

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

cyberil January 15th, 2011 12:22 PM

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

Eric January 15th, 2011 12:28 PM

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

cyberil January 15th, 2011 04:01 PM

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.

Eric January 15th, 2011 04:16 PM

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

Eric January 15th, 2011 04:24 PM

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]


cyberil January 15th, 2011 05:07 PM

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....

Eric January 15th, 2011 05:12 PM

Can you PM me the following information:

BLOG LOGIN INFO with ADMINISTRATOR PERMISSIONS (Temporary login information preferred)
Admin URL:
Username:
Password:

Eric January 15th, 2011 06:21 PM

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

cyberil January 16th, 2011 04:27 AM

OK thanks. Just so you know also the page numbers take you to a 404

Eric January 16th, 2011 10:21 AM

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 (Post 16787)
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

Eric January 16th, 2011 01:37 PM

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

cyberil January 16th, 2011 04:27 PM

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

Eric January 16th, 2011 05:01 PM

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

cyberil January 17th, 2011 05:16 AM

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


All times are GMT -5. The time now is 03:34 AM.

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