Datafeedr Support Forums

Datafeedr Support Forums (http://www.datafeedr.com/forums/index.php)
-   Tips, Tricks & Tutorials (http://www.datafeedr.com/forums/forumdisplay.php?f=66)
-   -   Formatting product description (http://www.datafeedr.com/forums/showthread.php?t=10439)

johanvergeer April 2nd, 2014 03:44 AM

Formatting product description
 
Hi Eric,

Would it be possible to format the product desciptions?
Maybe add some bullit points or tables for product information?

I have already tried using this code:

PHP Code:

<html>
<
body>
<
p>- Professionele motorkettingzaag met perfecte gewichtvermogensverhouding voor zwaar velwerk.<br />
Sterk luchtfiltersysteem voorkomt vervuiling van het filterwaardoor deze minder vaak gereinigd hoeft te worden.<br />
Gerichte spaanafvoer door optimaal vormgegeven uitworpgeen verstoppingenook bij lange spanen.</p>
<
h3>Technische gegevens: </h3>
<
ul>
  <
li>Cilinderinhoud72,6 cAc.</li>
  <
li>Vermogen4,20/5,7 kW/pk</li>
  <
li>Zaaglengte45 cm.</li>
  <
li>OpvoerpompJa</li>
  <
li>KettingremJa</li>
  <
li>Anti Vibratie TechnologieJa</li>
  <
li>Zaagketting3,8&quotsteek</li>
  <
li>Kettingsnelheid20,83 m/s</li>
  <
li>Maxvermogen bij toerental4,2/9500 kW/min-1</li>
  <
li>Maxkoppel bij toerental4,8/7000 Nm/min-1</li>
  <
li>Inhoud brandstoftank1,5 l.</li>
  <
li>Inhoud oliereservoir420 ml.</li>
  <
li>Brandstofverbruik bij maxvermogen2,3 l/uSpecifiek verbruik bij maxvermogen 510 g/kWu</li>
  <
li>Geluidsniveau113,3 dB (A)</li>
  <
li>Gewichts-/vermogensverhouding0,90 kg/kW</li>
  <
li>Netto gewicht6,3 kg.</li>
  <
li>Automatische kettingsmeringJa</li>
  <
li>HandgreepverwarmingJa</li>
  <
li>Vibratie a(hhandgreep voorzijde6,2 m/</li>
  <
li>Vibratie a(hhandgreep achterzijde4,1 m/</li>
</
ul>
</
body>
</
html

And it gave this as a result after update:
http://kettingzaag-online.nl/store/k...1402088330996/

Thanks

stefan April 2nd, 2014 04:12 AM

When using HTML in your product descriptions, you must also modify the [product.description] tag to make it render the content in HTML format.

You need to change the [product.description] tag to [product.description html='yes'] in your Views wherever you want HTML rendered.

So if you want to output HTML in your product detail pages you need to change the [product.description] tag in The Factory > Your Store > VIEWS > PRODUCT DETAIL > Default > Product detail module > Theme settings ()

johanvergeer April 2nd, 2014 05:00 AM

Thank you. I will give it a try.

johanvergeer April 2nd, 2014 05:29 AM

Works like a charm.

Thanks Stefan


All times are GMT -5. The time now is 06:11 AM.

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