View Single Post
  #9  
Old April 11th, 2013, 06:15 AM
DohRayMi DohRayMi is offline
 
Join Date: Feb 2013
Posts: 167
Default

Hi again,
I still can't get this to work, I know I am missing something, so I have pasted the code below, could you tell me what's wrong please?

I have this code in the Text view of the page.
The only thing I changed was I named my view "web_codes_from_this_merchant" for my own clarity.


Code:
[product.each]
<?php echo datafeedr_tag('web_codes_from_this_merchant?c=coupons&amp;merchant='.get_the_title()); ?>
  <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]
Which produces this: http://www.dohraymi.com/city/na/online-vouchers/argento


Reding through the referenced thread, I also tried using this -
[DFR:web_codes_from_this_merchant?c=coupons&merchan t='.get_the_title()]
but it just returned the "No products found" message.

Thank you again,
Philip.

Last edited by Eric : April 11th, 2013 at 10:38 AM. Reason: fixed code formatting