Hallo zusammen,
bin grad ein bisschen ratlos und bräuchte eure Hilfe.
Baue gerade meinen Shop auf und bin nicht ganz so glücklich mit der Produktbeschreibung.
Da ich einen Shop in Richtung Tierschutz, Tierbedarf aufbaue ist die Produktbeschreibung einfach ein wenig länger, als wenn ich “nur” Teller oder ähnliches verkaufen würde.
Gibt es denn die Möglichkeit das man beim einzelnen Produkt sozusagen eine kleine Zusammenfassung anzeigen lassen kann und wenns einen interessiert z.b. darunter die Möglichkeit hat über einen Aufklapptext “Mehr Information zum Produkt” sich den Rest anzeigen lassen kann?
Klar, ich kann auf der Produktseite einen Block hinzufügen “einklappbare Reihe”, aber den Text gebe ich dann dort ein und ist anschliessend bei jedem Produkt gleich… Macht Sinn bei Pflegehinweise oder Versand. Aber für jedes Produkt individuell? Geht das und wenn ja wo?
@thokawa75
Dies kannst du einfach lösen wenn du hinter das Produkt ein Metafeld Text hinzufügst. Dieses dann als Referenz im editor hinterlegen.
Du kannst dann die einzelnen Produkt Texte individuell pflegen, und es wird da ausgespielt wo es auch soll.
Beste Grüße
Rafael von Muthwerk Agentur
ok. aber so ganz verstanden habe ich das irgendwie noch nicht… wie gesagt - ist noch ein wenig Neuland hier für mich…
WO genau muss ich das Textfeld einfügen? Und das mit der Referenz im Editor ist mir irgendwie auch noch nicht ganz klar…
What i see best since you are also looking to avoid adding texts in different places or blocks. With a bit of js we can implement a read more functionality.
So the users don’t see the long para at once, only 20 or 50 words whatever you like and give a read more button which will expand with the rest of the content.
Hey @thokawa75 ,
Definitely, you can do it very nicely by two way
1st - You can do it by using Product Metafields
2nd- You can do it by JavaScript & liquid conditions like:
{% assign short_description = product.description | strip_html | truncate: 220 %}
{{ short_description }}
More information about the product
{{ product.description }}
{% assign short_description = product.description | strip_html | truncate: 220 %}
{{ short_description }}
More information about the product
{{ product.description }}