Produkt-Kurzcode drucken
Der folgende Kurzcode zeigt die PDF-Exportschaltfläche für die Produkt-ID 76. Der Text der Schaltfläche befindet sich am Ende:
[print_product id="PRODUCT_ID" mode="pdf" text="Produkt X als PDF exportieren"]
Der Modus kann auf pdf, word oder print eingestellt werden. Wenn Sie den ID-Parameter leer lassen, dann versucht unser Plugin, das Produkt automatisch zu erhalten.
Fragen & Antworten (6)
Marco Gabelli6. Juli 2018
Hi there,
is it possible to add a shortcode to the WooCommerce short description tab, that prints the current product, without hardcoding the id of the product?
Thanks in advance and kind regards
Marco
Dmitry26. Februar 2018
Hello! How can I add an icon or a picture to a shortcode? What shortcode to print the product?
weLaunch24. März 2018
Please see here on how to change the print products icons to images: https://demos.welaunch.io/woocommerce-print-products/faq/icons/
Karim16. November 2017
Is there no shortcode that displays the same as if I setup through the plugin page? Like without a button and with the icon?
Rob24. Oktober 2017
The following shortcode displays the PDF export button for the product ID 76. The button text is at the end:
This is not at all clear. How do I add a shortcode for a product?
weLaunch25. Oktober 2017
Sorry, we have updated the FAQ.
Of course the shortcode should be like this: [print_product id=”76″ mode=”pdf” text=”Print Product (ID 76)”]