nick1122
Forum Replies Created
-
Hey @wpcharitable
I am currently using PHP version 8.0 and am facing this issue. I have attached a screenshot of the AJAX response. and I found out that the campaign is not being created, but the data is still being added to the database screenshot. I’ve noticed that the ID is not being assigned to this data, and when I delete this from the database, the errors no longer appear on the Campaign page. However, when I attempt to create a new campaign again, it fails, and when I visit the campaign page, it displays those errors.
System Information:-### Begin System Info ###
-- Charitable Info
Pointer Slugs Dismissed: dashboard,campaigns,reports,tools
-- Site Info
Site URL: https://samkit-8-php-site.local
Home URL: https://samkit-8-php-site.local
Multisite: No
-- WordPress Configuration
Version: 6.6.1
Language: en_US
User Language: en_US
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Active Theme: Twenty Twenty-Four 1.2
Show On Front: page
Page On Front: Home Page 1 (#437)
Page For Posts: Unset
ABSPATH: C:\Users\Nick\Local Sites\samkit-8-php-site\app\public/
Table Prefix: Length: 3 Status: Acceptable
WP_DEBUG: Disabled
CHARITABLE_DEBUG: Not set
Memory Limit: 40M
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, charitable-pending, charitable-completed, charitable-failed, charitable-cancelled, charitable-refunded, charitable-preapproved
Revisions: Enabled
-- WordPress Uploads/Constants
WP_CONTENT_DIR: C:\Users\Nick\Local Sites\samkit-8-php-site\app\public/wp-content
WP_CONTENT_URL: https://samkit-8-php-site.local/wp-content
UPLOADS: Not set
wp_uploads_dir() path: C:\Users\Nick\Local Sites\samkit-8-php-site\app\public/wp-content/uploads/2024/07
wp_uploads_dir() url: https://samkit-8-php-site.local/wp-content/uploads/2024/07
wp_uploads_dir() basedir: C:\Users\Nick\Local Sites\samkit-8-php-site\app\public/wp-content/uploads
wp_uploads_dir() baseurl: https://samkit-8-php-site.local/wp-content/uploads
-- Must-Use Plugins
akeeba-backup-coreupdate.php:
-- WordPress Active Plugins
Charitable: 1.8.1.8
-- WordPress Inactive Plugins
Akeeba Backup for WordPress: 7.2.0.1
Bears Core: 1.1
Bears Shortcodes: 1.2
Contact Form 7: 5.9.7 (needs update - 5.9.8)
Core Rollback: 1.3.5
Custom Post Type UI: 1.17.1
Events Manager: 6.4.10.2
Google Analytics for WordPress by MonsterInsights: 7.10.4 (needs update - 8.28.0)
Lemon Grid: 1.2
MC4WP: Mailchimp for WordPress: 4.9.13 (needs update - 4.9.14)
Newsletter: 6.1.0 (needs update - 8.4.7)
Ninja Forms: 3.8.6 (needs update - 3.8.8)
Ninja Mail: 1.0.6
Regenerate Thumbnails: 3.1.6
Slider Revolution: 5.3.0.2
TB Donations: 1.7
The Events Calendar: 4.9.4 (needs update - 6.6.0.2)
UpdraftPlus - Backup/Restore: 1.24.3 (needs update - 1.24.4)
WooCommerce: 2.6.9 (needs update - 9.1.4)
WooCommerce Legacy REST API: 1.0.4
WPBakery Visual Composer: 5.0.1
WP Downgrade | Specific Core Version: 1.2.6
WP User Avatar: 2.2.7 (needs update - 4.15.11)
-- Webserver Configuration
PHP Version: 8.0.30
MySQL Version: 8.0.16
Webserver Info: nginx/1.16.0
-- PHP Configuration
Memory Limit: 256M
Upload Max Size: 300M
Post Max Size: 1000M
Upload Max Filesize: 300M
Time Limit: 1200
Max Input Vars: 4000
Display Errors: On (1)
-- PHP Extensions
cURL: Supported
fsockopen: Supported
SOAP Client: Installed
Suhosin: Not Installed
-- Session Configuration
Session: Disabled
### End System Info ###Hi @brainfire9,
I am experiencing the same issue on my site. I’ve been using this plugin for a long time, but currently, when I try to add a new campaign, I encounter an error: screenshot. Additionally, when I visit my campaign page, it shows this error: screenshot. My WP_DEBUG is set to false. My current WordPress version is 6.6.1. I’ve already deactivated all plugins and am using the default theme, Twenty Twenty-Four. When I switch back to PHP 7.3, it works properly.Could you please help me to resolve this?
Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] news filed extraHi @dannwagner
Thank you for providing the details.
You can check this https://prnt.sc/mi6alzECbWb4 ID in your WooCommerce Checkout Manager plugin settings and use it as a meta value in the modified filter code which I provided. in your case use this key- _billing_wooccm12
I have verified this on my local site, and the code and filter are working properly.
Please let us know the result.
Regards,
Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] news filed extraHi @dannwagner ,
Please guide us on how to add the option “SELECT CARD (PAY ON DELIVERY)” on the checkout page.
If you done this using any custom code or plugin then please share the details. If it is a free plugin, then we can check and let you know the outcomes.
Regards,
Nikhil.Hi @efteevigor ,
We have added meta into the templates, now you can use that for your requirements. Please replace this patch file with the given path.Patch- https://www.dropbox.com/scl/fi/cw7y0kk2774s0n5qqbddc/print-header.php?rlkey=9sfa2f6yvfmv09k9557aokc7i&st=mroc6p2a&dl=0
Path- \plugins\woocommerce-delivery-notes\templates\print-order\
Screenshot for your reference: https://prnt.sc/wytg6RYOBRhm
Regards,
Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] news filed extraHi @dannwagner,
I am sharing with you the modified filter. Please use this filter and let us know the result.
function custom_order_info_fields( $fields, $order ) {
// echo '<pre>'; print_r( $order ); echo '</pre>';
// Add your custom meta fields here
$custom_fields = array(
array(
'label' => 'ID:',
'value' => $order->get_meta('billing_wooccm12', true),
),
);
// Merge the custom fields with the existing fields
$fields = array_merge( $fields, $custom_fields );
return $fields;
}
add_filter( 'wcdn_order_info_fields', 'custom_order_info_fields', 10, 2 );If this does not work, then you need to confirm whether the field you are trying to add is present in the order or not.
For debugging purposes, you can uncomment the line echo ”; print_r( $order ); echo ”; and check the order data in the invoice.
Regards,
Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] PDF Invoice is massive!Hi @harbrosuppliesl ,
The issue is that the font-size applies correctly to the print option but doesn’t directly affect the PDF output, so we’ve manually added the font-size in the PDF CSS. To improve the appearance of the default template in the PDF, please replace the file at the given path and review the changes.
Patch- https://www.dropbox.com/scl/fi/3wqd5jsbu9t5396cb0fx9/style.css?rlkey=3wgi5edfzrjucaxk97f46cxue&st=r3fbipie&dl=0
path- \plugins\woocommerce-delivery-notes\templates\pdf\default\We’ll include this patch in the next update. Additionally, you can customize the body font sizes according to your requirements; the default size is currently set to font-size: 7pt;.
I’ve attached a screenshot for your reference- https://prnt.sc/i3rPvks83ibK.
Please let us know if this solution works for you.Regards,
Nikhil.Hi @nebbens,
I tried to replicate the issue at our end, but bulk action for the print is working fine for me.It would be great if you could try to reproduce the issue with minimal setup on your site. To do so, you will need to deactivate all plugins except WooCommerce and our Print Invoice plugin, as well as switch to the default WordPress theme or Storefront theme, and check if the issue still persists or not.
If things works fine then there some conflicts with the active plugins or the theme on your site. Try activating it one by one to identify the conflicting plugin/theme and let us know the result.
If the issue still continues, please create the ticket?here?on our support tool so that we can communicate in detail?
Regards,
Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] Printing blank invoicesHi @essmeier,
We have tested this with Firefox latest version, and the print is properly functioning.
Can you please provide information about the specific version of Firefox you are using or share a link or copy of the browser so that we can check and replicate the issue?
Additionally, please open Firefox in Safe Mode, which disables all extensions and uses default settings. This can help determine if the issue is related to any extension or specific browser settings.
Regards,
Nikhil.Forum: Plugins
In reply to: [Print Invoice & Delivery Notes for WooCommerce] different sorting of columnsHi @norisknofun11,
Yes, it is possible to sort this column and remove the price column.
Here’s a filter that can hide the price column into the table. Add this code snippet in functions.php file of your currently active theme./** * Print in 80mm size. */ function print_paper_resize() { ?> <style> /* CSS Media Queries for Print ------------------------------------------*/ @media print { body { font-size: 8.5pt; max-width: 80mm; margin: auto!important; font-weight: 550; } .shipping-address{ width:80%!important; } .billing-address{ width:70%!important; margin-bottom:1em!important; } h2,h3{ margin-bottom:0!important; } th{ padding-bottom:0!important; padding-left:0.5em!important; } td{ padding:0.35em 0.35em 0!important; } .order-addresses{ margin-bottom:1em!important; } .order-info li strong { font-weight:600!important; display:inline!important; padding-right:1.4em!important; } .order-info{ margin-bottom:0!important; } .order-branding{ margin-bottom:0!important; } .product-quantity, .total-quantity,{ padding-left:1.0em!important; } .head-quantity{ padding-left:0em!important; } .includes_tax { white-space:nowrap!important; } .order-items .head-item-price, .order-items .product-item-price, .order-items .total-item-price{ display:none; } .content { /* Remove padding to not generate empty follow up pages */ padding-bottom: 0; } } </style> <?php } add_action( 'wcdn_head', 'print_paper_resize', 10, 1 );
screenshot for your reference: https://prnt.sc/C_UL_Uk1q9H2
To change the placement of the ‘Quantity’ column, you need to replace the given file. Currently, it is difficult to modify it using CSS. I am sending you the file; please download and replace it, with the provided path.
File- https://www.dropbox.com/scl/fi/i6xz5d3tysvt2bm24dmq1/print-content.php?rlkey=zpmxew61nz17jgdbkmhd9yu3n&dl=0
Path- \woocommerce-delivery-notes\templates\print-order\
screenshot for your reference: https://prnt.sc/Db8IV0FRoFaC
Note: The changes made will not persist through new updates, so you will need to replace this file with each update.
Please let us know if the given solution is working for you.
Regards,
Nikhil.Hi Panon,
We were unable to replicate the issue with our print invoice plugin.
Please create the ticket here on our support tool so that we can communicate in detail. Also, attach a screenshot where you are not getting the button.
Regards,
Nikhil.Hi Hassan Ayoub,
I have replied to your query in our support. Please check it.
Regards,
Nikhil.Hi Laurameeks,
Here’s a filter that changes the Delivery note title to your custom title. Add this code snippet in functions.php file of your currently active theme./** * Add this code snippet in functions. php file of your currently active theme. * change delivery note templet title. */ function custom_print_delivery_note_title($title) { if (strtolower($title) === 'delivery note') { $title = 'Purchase Order';//add your custom title here } return $title; } add_filter('wcdn_document_title', 'custom_print_delivery_note_title');
Please let me know if the given solution is helpful for you.
Regards,
Nikhil.Hi @awseafood,
We are sending you the modified file according to your requirements.Please replace the below file with the given path.
File: https://www.dropbox.com/scl/fi/i6xz5d3tysvt2bm24dmq1/print-content.php?rlkey=zpmxew61nz17jgdbkmhd9yu3n&dl=0
Path: woocommerce-delivery-notes\templates\print-order.Screenshot for your reference: https://prnt.sc/xLB-jomRHNyB
Note: The changes made will not persist through new updates, so you will need to replace this file with each update.
Please let us know if the given solution is working for you.
Regards,
Nikhil.Hi Phillip,
You can upload the video to Google Drive or another platform and share the link here. Also, please provide details about the device on which you are experiencing this problem.
Regards,
Nikhil.