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.
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
Hello! How can I add an icon or a picture to a shortcode? What shortcode to print the product?
Please see here on how to change the print products icons to images: https://demos.welaunch.io/woocommerce-print-products/faq/icons/
Is there no shortcode that displays the same as if I setup through the plugin page? Like without a button and with the icon?
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?
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)”]