[Solved] Printing custom tabs on pdf  

  RSS

guest
(@guest)
Active Member
Joined: 5 years ago
Posts: 6
21/05/2015 5:03 am  

Good day

I am using the Woocommerce Product Tabs plugin and have a few custom tabs, but I am unable to see them on the pdf or the print screens. I believe it is a database issue / conflict. Please could you explain how I fix this. I cannot give out login details as I work for a large agency.

Your help would be greatly appreciated.

Thanks

Jason


Quote
Tom
 Tom
(@tomson)
Support Team Admin
Joined: 5 years ago
Posts: 2961
21/05/2015 5:10 am  

Hi Jason,

Please make sure you've enabled this option:

2015-05-21_0108


ReplyQuote
exselad
(@exselad)
New Member
Joined: 4 years ago
Posts: 1
21/01/2016 12:04 am  

Hi, I'm trying to use this plugin with WooCommerce products I have set up. How do I configure the plugin so that it shows not only the short description but also the full description and additional information fields?

The image you posted above is not loading.

Thanks in advance!


ReplyQuote
Tom
 Tom
(@tomson)
Support Team Admin
Joined: 5 years ago
Posts: 2961
21/01/2016 3:33 pm  

Hi exselad,

WooPP is designed to show those.  Make sure these options are enabled:

WooCommerce PDF and Print


ReplyQuote
pixelvaganz
(@pixelvaganz)
New Member
Joined: 3 years ago
Posts: 2
30/11/2016 1:44 pm  

Hi,

i'm using Woocommerce Custom Tabs Pro. I want to save the content of my custom tabs to a PDF document. Woocommerce PDF & Print is configured as mentioned above, but the content won't be included to the PDF. What can i do?

Best regards


ReplyQuote
pixelvaganz
(@pixelvaganz)
New Member
Joined: 3 years ago
Posts: 2
15/12/2016 4:28 pm  

Hi,

i solved my problem. If anyone has the problem, that the content of custom tabs won't export to pdf or print, the following works for me:

Go to functions.php and change '_wpt_field_' on line 344 and 345 to the slug (e.g. tab 'Details' = slug 'details') of your custom tab.

If you want more than one custom tab to insert, copy the complete block from line 342 - 354 and insert it after again. Then change the slug for the needed Tab.

Attention: If the content of the custom tab contains images, the plugin will bring an error

I solved it by excluding images - i inserted the following code on line 264:

$wpp_body = preg_replace("/<img[^>]+\>/i", "", $wpp_body);

 

Sorry for my bad english. I have to say, that i don't have good knowledge of php - perhaps anyone can improve my code


ReplyQuote
Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: