Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    47
    Hi. I'd like to use a WM template that searches a row for the word "Men's" like in Men's Clothes.

    I can get WM to search and display "Electronics" or "Youth" but not Men's.

    I don't even see that "Men's" is included in the results as part of a word in a row.

    I've also tried "Mens".

    Here is the code I've used successful on other sites:
    <table width="600" border="0" cellpadding="15" cellspacing="0" class="textareaProductList" >
    [WM-RECORD] [WM-If: Field: MERCHANDISE_TYPE .cn. Apparel]
    <tr>
    <td class="bottomThin">
    <a href="[WM-Field: BUYURL noLink raw]"> [WM-FIELD: PRODUCT_NAME noLink raw]</a>
    <P ><a href="[WM-Field: BUYURL raw noLink]" ><span class="orangelink">BUY NOW</span> </a></P>
    <P>More detail on SKU [WM-FIELD: SKU raw] </P>
    <P>In-Stock: [WM-FIELD: STOCK_STATUS noLink raw] </P></td>
    <td>
    <div align="center">
    <p><a href="[WM-Field: BUYURL noLink raw]"><img src="[WM-Field: THUMBNAIL_IMAGE noLink]" border="0"></a><br>
    $ [WM-Field: PRICE noLink raw]
    </p>
    </div></td>
    </tr>
    [/WM-If] [/WM-Record]
    </table>

    Any idea why this would not work with Men's?

    Thanks, April

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by aprillougheed:
    Hi. I'd like to use a WM template that searches a row for the word "Men's" like in Men's Clothes.

    I can get WM to search and display "Electronics" or "Youth" but not Men's.

    I don't even see that "Men's" is included in the results as part of a word in a row.

    I've also tried "Mens".

    Here is the code I've used successful on other sites:
    &lt;table width="600" border="0" cellpadding="15" cellspacing="0" class="textareaProductList" &gt;
    [WM-RECORD] [WM-If: Field: MERCHANDISE_TYPE .cn. Apparel]
    &lt;tr&gt;
    &lt;td class="bottomThin"&gt;
    &lt;a href="[WM-Field: BUYURL noLink raw]"&gt; [WM-FIELD: PRODUCT_NAME noLink raw]&lt;/a&gt;
    &lt;P &gt;&lt;a href="[WM-Field: BUYURL raw noLink]" &gt;&lt;span class="orangelink"&gt;BUY NOW&lt;/span&gt; &lt;/a&gt;&lt;/P&gt;
    &lt;P&gt;More detail on SKU [WM-FIELD: SKU raw] &lt;/P&gt;
    &lt;P&gt;In-Stock: [WM-FIELD: STOCK_STATUS noLink raw] &lt;/P&gt;&lt;/td&gt;
    &lt;td&gt;
    &lt;div align="center"&gt;
    &lt;p&gt;&lt;a href="[WM-Field: BUYURL noLink raw]"&gt;&lt;img src="[WM-Field: THUMBNAIL_IMAGE noLink]" border="0"&gt;&lt;/a&gt;&lt;br&gt;
    $ [WM-Field: PRICE noLink raw]
    &lt;/p&gt;
    &lt;/div&gt;&lt;/td&gt;
    &lt;/tr&gt;
    [/WM-If] [/WM-Record]
    &lt;/table&gt;

    Any idea why this would not work with Men's?

    Thanks, April <HR></BLOCKQUOTE>

    If that field contains "Men's" it should work. Try using "contains" instead of ".cn." and see if that takes care of it (and please let me know if it does as that would mean I have a minor bug to fix).

    If that doesn't do it please email a zip file containin a &lt;2MB portion of your feed, your template, and your WM settings file and once I can reproduce the issue here I should be able to correct it quickly.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. European Men Are So Much More Romantic Than American Men
    By JamesEvansPrimeQ in forum Virtual Family and Off-Topic
    Replies: 5
    Last Post: May 11th, 2007, 10:13 AM
  2. European Men Are So Much More Romantic Than American Men
    By JamesEvansPrimeQ in forum Midnight Cafe'
    Replies: 4
    Last Post: May 11th, 2007, 08:55 AM
  3. Public Statement to CJ
    By Azam in forum Commission Junction - CJ
    Replies: 12
    Last Post: September 25th, 2005, 06:27 PM
  4. "IF" statement hiccup?
    By Haiko de Poel, Jr. in forum Cusimano.com Scripts
    Replies: 2
    Last Post: February 13th, 2003, 03:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •