Introduction

The plugin offers shop users the possibility to download the current shopping cart as PDF

Features

 

 

Installation / Update

System requirements

Shopware 6.3 and all associated system requirements must be fulfilled.

Further requirements

No third-party accounts or API accesses are required.

Plugin installation

To install the plugin, the following steps are necessary:

Manual Upload

  1. Download the plugin

  2. In the admin dashboard under Settings → system → Plugins click on the button “Upload Plugin”

  3. Mark the file and upload it

Activation

If the plugin is uploaded, the plugin must still be installed & activated. Please note that only installed plugins can be activated. To install the plugin select Install in the right column (button with 3 grey dots). After successful installation you can activate the plugin and continue with the further configuration.

Plugin update

All changes made in the plugin configuration are preserved during a plugin update. The exception of it forms new added text blocks, which replace an existing text block.

 

 

Configuration

Store

The configuration of the Plugin is divided into different, logically divided areas.

General plugin attitudes

Entering invalid CSS can significantly affect the appearance of the plugin.

General PDF settings

note

The options "Allowed shipping methods" or "Allowed payment methods" ignore the options "Preselect payment method" or "Preselect shipping method".

If a customer has a credit card as default payment method, but you do not have this payment method in your selection under "Allowed Payment Methods", no preselection will be made.

The options "Allowed shipping methods" or "Allowed payment methods" ignore the options "Preselect payment method" or "Preselect shipping method".

If a customer has a credit card as default payment method, but you do not have this payment method in your selection under "Allowed Payment Methods", no preselection will be made.

PDF header settings

PDF footer settings

PDF-shopping cart settings

ERP system

The plugin does not require an interface to an ERP system.

Operation

The plugin requires no further settings after a first one-time configuration.

Store

Depending on the configuration, the plugin adds two buttons to the storefront that are visible to users of the store.

Individualization

The plugin can be modified in the frontend accordingly.

Templates

If you make changes in the plugin's own files, they will be irrevocably overwritten by an update!

CSS

The plugin offers up to the use of Inline-CSS many possibilities to adapt the representation in the Shop-Storefront. Changes, which go beyond the configuration possibilities in the administration are possible over the template system of Shopware in your own Storefront-Template.

If you make changes in the plugin's own files, they will be irrevocably overwritten during an update!

Text blocks

You can easily customize the used text modules via the administration interface of your shopware installation. In the first tab "Shop" under "Settings" select the item "Textblocks", then click on "Edit" in the right column of the textblock set for which you want to make changes. Then you can search for "s360-pdf." in the search field above and find all textbricks that are relevant for the plugin.

Troubleshooting

Check logs

To find out where a problem lies, the logs will help you and us. Depending on the error pattern one of the following three logs is more or less relevant.

Browser log

The browser log is mostly relevant if something in the frontend of the store behaves strangely or does not react. (Example: You click a button and apparently nothing happens).

You can see the browser log if you press F12 in your browser and then switch to console.

Store Log

The shop-log is always interesting if unexpected error messages are displayed in the frontend or if the plugin reacts to input in the frontend but does not deliver the result that was expected. Sometimes the browser log also makes it clear that the information is more likely to be found in the store log.

Web server log

The web server log becomes relevant if you encounter an Error 500 (= white page) somewhere. The web server log can be provided by your host.

Attention: Only edit the config file of the store if you know what you are doing! Faulty adjustments here can make your store unreachable or (encrypted) data unusable. In case of doubt, you should ask your host or service partner for help.

FAQ

I have activated my plugin, but I do not see a "Show PDF" button in my shopping cart?

One of the most frequent causes for this is that the inheritance of the template is not correctly accomplished. To be sure that it concerns only a representation error and not a programming error it makes sense to test the plugin uniquely in the Shopware-own storefront template and without other plugins. If the error should not exist any longer and the plugin functions as expected, the causes can be gone through now after the exclusion principle sequentially. First activate your possibly customized storefront-template and test the functionality, then activate your plugins step by step.

note

Technical note: The plugin uses in the shopping cart (file: /storefront/page/checkout/cart/index.html.twig) the block page_checkout_cart_action_proceed. For the display in the Ajax shopping cart (sidebar, file: /storefront/component/checkout/offcanvas-cart.html.twig) use the block component_offcanvas_cart_actions_cart. 

Technical note: The plugin uses in the shopping cart (file: /storefront/page/checkout/cart/index.html.twig) the block page_checkout_cart_action_proceed. For the display in the Ajax shopping cart (sidebar, file: /storefront/component/checkout/offcanvas-cart.html.twig) use the block component_offcanvas_cart_actions_cart. 

Changelog

v1.0.0 (October 2020)

Support and Contact

siehe Support und Kontakt