Woocommerce Cart page

Scheduled
14 July, 2020 04:58:55
Michael
Topics: 1
Messages: 25
Hi,
Pre-Sale Question:
I have tried your plugin and it works great except I cannot print the cart page from woocommerce.
Is there any way to solve this?
Thanks for your help.
14 July, 2020 05:40:40
Oleksandr
Support
Topics: 5
Messages: 1483
Hi,

Unfortunately E2Pdf doesn't have yet native WooCommerce support and it's not possible to output this information at this moment.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
4 September, 2020 00:54:30
Oleksandr
Support
Topics: 5
Messages: 1483
Hi,

We just released WooCommerce beta release with 1.12.00 version.

You can apply update now by turning on updates from "e2pdf.com". Option can be enabled at "E2Pdf" -> "Settings" -> "Release Candidate Builds" (screenshot 1). After enabling this option you must be able check for updates at "Dashboard" -> "Updates" and update plugin as usual.

Keep in mind please that this version is under beta now so it's recommended to have always up to date backup before any further updates from E2Pdf.com until it will be released under WordPress plugin directory.

After updating plugin to 1.12.00 it must be WooCommerce option while creating E2Pdf Template.

To add PDF to WooCommerce Cart page, it's need:

1. Create E2Pdf Template with extension "WooCommerce" and item "Cart" (screenshot 2).

2. Add "HTML" block with [e2pdf-wc-cart key="cart"] value by DBL click on newly created html object OR set value via "Right Mouse" click -> "Properties" -> "Value" OR set value via "Visual Mapper" ("Right Mouse Click" -> "Map") (screenshot 3)

3. Connect newly created Template to cart by going to "Settings" -> "WooCommerce" -> "Cart Template" (screenshot 4)

P.S. "Auto PDF" and documentation currently not available for WooCommerce extension, however it will be fixed in nearest time.

P.P.S. "Visual Mapper" currently also working, however it can be missed some additional needed shortcodes.

P.P.P.S. If you will face any problems with showing any information, or need some modification, let us know please, so we can include fix or add needed functionality the fastest we can.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
7 September, 2020 02:18:16
Oleksandr
Support
Topics: 5
Messages: 1483
Hi,

You are using too small HTML block along with [e2pdf-wc-cart key="cart"] shortcode, make it please the size bigger as it will respect it's size and will output cart products there.

If you could have a lot of products in cart which can overflow first page, you continue content to other page creating another "HTML" block, and set "Parent" to first "HTML" block ID and "Hide Page (if empty)" option, to hide page if content will not be overflowed in first block. (https://www.youtube.com/watch?v=SZNxz_JZ3d0).

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
7 September, 2020 02:57:50
Oleksandr
Support
Topics: 5
Messages: 1483
Please check for updates and update plugin to 1.12.01 to see if it will be showed product as it seems that the problem that content too big in one row.

If your shop can be accessed by us, you can also share the link where we can test it also from our side.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
7 September, 2020 03:02:47
Oleksandr
Support
Topics: 5
Messages: 1483
As an option, you can also try to reduce font-size under "Right Mouse Click" -> "Properties" on "HTML" block to see if it's the problem with content size. Screenshot attached.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
7 September, 2020 05:44:54
Oleksandr
Support
Topics: 5
Messages: 1483
Here is main product table header classes, it will be added soon to our docs the structure and features that can be set via CSS:

e2pdf-wc-cart-products-header-image, e2pdf-wc-cart-products-header-name, e2pdf-wc-cart-products-header-sku, e2pdf-wc-cart-products-header-quantity, e2pdf-wc-cart-products-header-price, e2pdf-wc-cart-products-header-subtotal

So to change the width for "Product" name column, it's need to add to CSS section code below, screenshot attached:

.e2pdf-wc-cart-products-header-name {
width: 50%;
}

P.S. Currently it's possible to set "width" only in percents.

As about ACF, do you have ACF fields connected to cart page directly? If so, it must be possible to use it as [e2pdf-wc-cart key="acf_field_key"], we will add it to Visual Mapper in nearest time.

If you appreciate our support , we would really appreciate your feedback at WordPress.org!
7 September, 2020 05:52:20
Oleksandr
Support
Topics: 5
Messages: 1483
Here also short additional shortcode attributes to modify [e2pdf-wc-cart key="cart"] shortcode.

Show attributes to hide cols for products table:
show_image, show_sku, show_quantity, show_price, show_subtotal, show_meta

Show attributes for totals table:
show_totals_subtotal, show_totals_coupons, show_totals_shipping, show_totals_shipping_destination, show_totals_shipping_package, show_totals_fees, show_totals_taxes, show_totals_total

The values is "true" or "false", default - "true"
Example: [e2pdf-wc-cart key="cart" show_image="false"]

Image size can be set via "image_size" attribute.
Example: [e2pdf-wc-cart key="cart" image_size="64x64"]
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
7 September, 2020 08:23:31
Oleksandr
Support
Topics: 5
Messages: 1483
Currently if it's working with WordPress extension and [e2pdf-download] shortcode placed on cart page, you must be able to use: [e2pdf-wc-cart key="firmenname"] and [e2pdf-wc-cart key="kundennummer"] inside "Cart" E2Pdf Template.

Let us know please if it will work like this. Thank you.

We remain at your service.


If you appreciate our support , we would really appreciate your feedback at WordPress.org!
7 September, 2020 08:32:45
Michael
Topics: 1
Messages: 25
Hi,
yes this works!!

Your support is really extremely good!
I think that's all for today ;)

kind regards,
8 September, 2020 02:48:28
Oleksandr
Support
Topics: 5
Messages: 1483
Hi,

You must be able to use such CSS:

.e2pdf-wc-cart-product-image {
vertical-align: top;
}

As about ACF image, it could be that it's saved as "Attachmend ID", if so, it must be converted to image by using such shortcode:

[e2pdf-wc-cart key="logo" attachment_image_url="true" size="full"], default size is set as "thumbnail", if "size" attribute not defined.

If it will not work, try to create just simple "textarea" with shortcode: [e2pdf-wc-cart key="logo"] to see which output you get. You can also choose image directly in E2Pdf Template, by "Right" Mouse Click on "Image" object and click on "Choose Image".

P.S. We also released an update 1.12.02 where were added "Meta Keys" to "Visual Mapper".

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
8 September, 2020 03:44:43
Oleksandr
Support
Topics: 5
Messages: 1483
It looks like saved as "attahment_id". Try please to put shortcode inside "textfield" to see output:

[e2pdf-wc-cart key="logo" attachment_image_url="true" size="full"]
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
8 September, 2020 04:40:16
Oleksandr
Support
Topics: 5
Messages: 1483
Shortcode works correctly and it generates right output, however it looks like issue is with image. It has type JFIF and not JPG, which can't be rendered currently by our engine. We will need to check if we can add its support.

Meanwhile can you try to use such shortcode on image object:

[e2pdf-wc-cart key="logo" attachment_image_url="true" size="thumbnail"]

In this case image must be converted by wordpress to thumbnail and it could be that it will convert it to correct format.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
9 September, 2020 03:33:21
Oleksandr
Support
Topics: 5
Messages: 1483
Hi,

We just released a hot fix under 1.12.03 version. Also there is an issue with image size, as "3D Product configurator for WooCommerce" output image without any classes with 255 width and 255 height. Unfortunately E2Pdf currently doesn't support nested CSS as .e2pdf-wc-cart-product-image img to set width only for this images.

So currently it's possible to fix it in 2 ways:

- Apply CSS to all images inside HTML block:
img {
width: 32px;
height: 32px;
}

- or "Search" and "Replace" width and height via [e2pdf-format-output] shortcode.

So we currently applied 2nd solution on staging size and modified "cart" shortcode in your E2Pdf Template to:

[e2pdf-format-output search='width="255"|||height="255"' replace='width="32"|||height="32"'][e2pdf-wc-cart key="cart" show_quantity="false"][/e2pdf-format-output]

P.S. We currently checking if we can find other easier solution and we will let you know if it will be any news. Sorry for inconvenience.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
9 September, 2020 04:29:10
Oleksandr
Support
Topics: 5
Messages: 1483
Thanks a lot. We really appreciate it. Just Wordpress Plugins Directory is just perfect.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
11 September, 2020 04:08:21
Michael
Topics: 1
Messages: 25
Hi,
short question, can I add the "cart pdf download-button" to the checkout page too?
The printout should be the same as on the cart page.

Thanks in advance,
Michael
11 September, 2020 06:14:14
Oleksandr
Support
Topics: 5
Messages: 1483
Hi,

You must be able to add action to output button by adding it to functions.php as in example: https://codeshare.io/5Xz8zk

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
11 September, 2020 06:21:44
Michael
Topics: 1
Messages: 25
Hi,

many thanks for the fast help, works perfectly!!
16 September, 2020 05:48:51
Michael
Topics: 1
Messages: 25
Hi,
I have another short question ...
Is it possible to generate a global "header" and "footer" for pdf files?
I would use ACF fields.
Or do I have to insert a "header" and "footer" inside every page?
16 September, 2020 06:09:42
Oleksandr
Support
Topics: 5
Messages: 1483
Hi,

Each page has individual design so yes, "header" and "footer" must be added to each page separately.

However you can add "header" and "footer" to first page -> Select created elements with mouse -> "Right Mouse Click" -> "Copy" -> Go to 2nd page and "Right Mouse Click" on free space -> "Past in Place". It will copy all selected elements and will put on same positions.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
16 September, 2020 06:26:38
Michael
Topics: 1
Messages: 25
Thanks, that is was I did. I thought there is maybe another solution which I missed ;)