gerard04
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress not showing images I uploadI tried to reinstall wordpress and it fixed so maybe it was corrupted some of it files
Forum: Fixing WordPress
In reply to: WordPress not showing images I uploadIf I go to the gallery the images i uploaded are white and I can only see the one from the theme.
I only have the plugin of brizy activated and the plugin for the template.
I didn’t change anything this is a new WordPressYes it i have selected the right template
I already have some actions/filters on my functions php that they work I just added the snipet at the bottom maybe theres something that brokes the filter? Here I leave all my functions.php
<?php /** * Use this file for all your template filters and actions. * Requires WooCommerce PDF Invoices & Packing Slips 1.4.13 or higher */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly add_action( 'wpo_wcpdf_after_order_data', 'wpo_wcpdf_add_woo_delivery_data', 10, 2 ); function wpo_wcpdf_add_woo_delivery_data( $template_type, $order ) { $document = wcpdf_get_document( $template_type, $order ); $delivery_data = array( 'delivery_date', 'delivery_time', 'pickup_date', 'pickup_time' ); foreach( $document->get_woocommerce_totals() as $key => $total ) { if ( in_array( $key, $delivery_data ) ) { ?> <tr class="woo-delivery"> <th><?php echo $total['label']; ?></th> <td><?php echo $total['value']; ?></td> </tr> <style>table.totals tr.<?php echo $key; ?> { display: none; }</style> <?php } } } add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_bold_sku', 10, 2 ); function wpo_wcpdf_bold_sku ( $document_type, $document ) { ?> dd.sku { font-weight: bold; } <?php } add_filter( 'wpo_wcpdf_invoice_title', 'wpo_wcpdf_invoice_title', 10, 2 ); function wpo_wcpdf_invoice_title ( $title, $document ) { $title = 'Comanda'; return $title; }
Yes that worker perfect thanks for the help
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] I need help editin the invoiceLots of thanks that worked perfectly. Nice help
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] I need help editin the invoiceForum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] I need help editin the invoiceYes i am using a custom template.
image of the invoiceForum: Plugins
In reply to: [WooCommerce] I want to add the option to decide when to recive the productYes that was exactly what i want. Thanks
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Help editing the invoiceI also want to know how can I change the name of the output pdf
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Help editing the invoiceHello again after making all the changes on the invoice today I realize the plugin autoupdated and removed my template. Is there anyway i can recover it? and why does this happens?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Help editing the invoiceYes it worked. Thank you, i have been trying for days.
Forum: Plugins
In reply to: [Bulk Order WooCommerce] Sort option is not workingthanks now its working your plugin is very usefull