• Resolved southafricanrob

    (@southafricanrob)


    Hi,
    I am using a bundled product plugin and would like to exclude it from the pdf. Currently the bundled products shows separately so it is a bit of duplication having them show again under the bundled product.

    Could you point me in the right direction?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @southafricanrob

    You can hide them easily using our Premium Templates extension by adding the following code snippet to the customizer custom styles:

    .bundled-item { display: none; }

    Alternatively you can add the code snippet above to an action hook following this documentation page: Using custom styles

    Hope that helps!

    Thread Starter southafricanrob

    (@southafricanrob)

    Thank you Alex – that’s great.
    I am using WPClever Product Bundles (not the Woocommerce one) so the classes are different. I have tried to figure out what class the bundles have but the ones I am trying aren’t working.
    Is there a way to use Chrome dev tools or similar to inspect the pdf and see what the html is? When I try it looks to be encoded already and stripped of all the html and css?
    Thanks

    Plugin Contributor Ewout

    (@pomegranate)

    WPClever has a solution for this in this post:
    How to show only bundled product in invoice

    We don’t add any classes for that particular bundles plugin, but if you need to inspect the HTML source of the PDF, you can either add &output=html to the URL (one a per-view basis), or enabled the “Output to HTML” option in the Status tab of the plugin settings.

    Thread Starter southafricanrob

    (@southafricanrob)

    Thank you so much

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide products from a specific category’ is closed to new replies.