Announcement

Collapse
No announcement yet.

Variable in Search Reulsts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Variable in Search Reulsts

    I have a variable call 'YouSave' which contains the percentage saving for each product. I want this information shown in the search results, e.g.

    Item Picture
    My Price
    Saving: ***%

    replacing *** with 'YouSave'

    ive added it to "StandardSearchResult' and tried this both inside and outside a block - but it doesn't show up in the results. Any ideas?
    http://www.itwiz.co.uk

    http://www.AntiV.net - The Discount Antivirus Store

    #2
    It is possibly the "%" sign causing the issue as this has special meaning in Perl... have you tried it without the "%" to see if it works first?


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      the % sign isnt in the variable value, its in the markup
      http://www.itwiz.co.uk

      http://www.AntiV.net - The Discount Antivirus Store

      Comment


        #4
        Won't work that easily. Most variables are for use on the static HTML pages and aren't available to the search scripts.

        However this complex idea ( http://community.actinic.com/showthread.php?t=31559 posts 8 and 9 ) shows how to turn the search results into a list of normal buyable products, so you could use that.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X