Announcement

Collapse
No announcement yet.

!!<Code>!! in Product Full Descriptions not renderingin filtered search results

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

    !!<Code>!! in Product Full Descriptions not renderingin filtered search results

    Adding code to product description shows raw code in filtered search result.
    If I add code to a Product Full Description - rather like this:
    Code:
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    
    !!<<p><a href="http://www.whathifi.com/" target="_blank"><img src="whathifi.jpg" alt="What HiFi" width="151" height="74" border="0" /></a> <a href="http://www.hifichoice.co.uk/" target="_blank"><img src="hifichoice.jpg" alt="HiFiChoice" width="67" height="77" border="0" /></a> <img src="applecompat.jpg" alt="Apple compatible" width="175" height="45" border="0" /></p>
    <p>Read the What HiFi magazine review <a href="http://www.whathifi.com/" target="_blank">here</a><br />
      Read the T3 review <a href="http://www.t3.com/best-gadgets/headphones" target="_blank">here</a><br />
      Read the Sound &amp; Vision review <a href="http://www.soundandvision.co.uk/" target="_blank">here
      </a></p>>!!
    - it displays correctly in the product
    http://www.graphicz.gb.com/mtme/acat...-50.html#SID=7
    but as raw code in the filtered search results.
    http://www.graphicz.gb.com/mtme/acatalog/Marley.html
    Presumably the javascript is stopping the code executing. The search results and the JS file have already been edited to allow clickable image http://community.sellerdeck.com/showthread.php?t=53920
    Please can anyone help?
    It is squarely a Sellerdeck problem as the !!<code>!! tags appear in the Product Full Description if the provided text formatting is used so it will affect all clients of Sellerdeck (not just designers but those who use it out of the box) who want descriptions in search results and who want formatting in their product descriptions.
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    Hello Jonathan

    Thank you for bringing this up. I have raised an issue citing Norman's scenario.

    Regards
    Krithika Chandrasekar
    SellerDeck

    sigpic

    E-commerce software by SellerDeck

    Comment


      #3
      Same issue right out of the box!

      http://www.graphicz.gb.com/generic/c...&Action=Search

      Generic Sellerdeck v12 (2013) site straight out of the box.
      Used the built in text formatting tools for the Product Full Description for Wedding Rings and Diamond Pendant.
      Selected Product Full Description in filtered search results settings.
      Code appears in Filtered search results.

      This really takes away the whole point of being able to populate sections with filtering rather than with duplicates which was much trumpeted.

      Many of my clients and probably thousands of Sellerdeck/Actinic clients use formatting and additional code in Product Full descriptions

      Edit: If the above link doesn't work go to http://www.graphicz.gb.com/generic/index.html and select Wedding Jewellery from the Maga Menu at the top.
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment


        #4
        Unbelievable

        This from support:
        This has been confirmed as a bug and it has been raised. A workaround for the time being, is to go to 'Settings | Search Settings | Results' and untick 'Full Description'. This will mean the code will only show in the filtering page. Apologies for the inconvenience.
        You cannot market a product on its new features then tell people Oh Actually you cannot use them.

        So I now tell the client the whole reason for recommending Sellerdeck (building sections of 'brands' using filtering) now doesn't actually work.
        Jonathan Chappell
        Website Designer
        SellerDeck Website Designer
        Actinic to SellerDeck upgrades
        Graphicz Limited - www.graphicz.co.uk

        Comment


          #5
          Clumsy Fix

          Here is a clumsy fix for someone to improve upon:

          1. Create a new variable at product level, general panel, name 'AdditionalCode' type: filename, no use parent and allow empty - leave empty.

          2 In your product layout look for:
          Code:
          <p class="product-text">
          			<actinic:variable name="ProductDescription" />
          		</p>
          Change it to:
          Code:
          <p class="product-text">
          			<actinic:variable name="ProductDescription" /><br />
          			<actinic:block php="true" >
          				include '<actinic:variable name="AdditionalCode" encoding="perl" selectable="false" />';
          			</actinic:block>
          		</p>
          3. When completing your Product Full Description, pop up a text file in notepad and put all your fancy stuff: I put:
          Code:
          <h2>Core Blimey</h2>
          <span style='color: #800000;'>
          <strong>It jolly well works.</strong></span>
          NB: You do NOT need the !!<code>!! tags.
          Save the file as a text file and enter the filename in the AdditionalCode panel of general.
          4. Upload.

          Example:
          Filtered result without ADditional Code:
          http://www.graphicz.gb.com/generic/c...&Action=Search
          Product showing additional code:
          http://www.graphicz.gb.com/generic/a...s-2.html#SID=1
          The content of the additional Code text file:
          http://www.graphicz.gb.com/generic/a...coreblimey.txt

          Happy days! There has to be a better way? Anybody any ideas?

          Thank you very much for reading - sorry for grumpiness!
          Last edited by graphicz; 21-Mar-2013, 10:15 AM. Reason: Removing parse error from variable
          Jonathan Chappell
          Website Designer
          SellerDeck Website Designer
          Actinic to SellerDeck upgrades
          Graphicz Limited - www.graphicz.co.uk

          Comment


            #6
            Solved

            This from Jonny in support:

            Attached is a new JavaScript file which you can drop it into your site folder. This will overwrite you current actinicsearch,js and will solve the issue
            Obviously take a snapshot first and rename the existing file actinicsearch-ORIG,js

            Here is the link to Jonny's revised actinicsearch,js

            http://www.graphicz.gb.com/generic/a...tinicsearch.js

            Here is the filtered search results page with formatting displaying correctly
            Jonathan Chappell
            Website Designer
            SellerDeck Website Designer
            Actinic to SellerDeck upgrades
            Graphicz Limited - www.graphicz.co.uk

            Comment

            Working...
            X