petfresh
Forum Replies Created
-
Issue found and corrected.
The Portal couldn’t be accessed due to the following option being disabled by default on Cloudways
-> DIRECT PHP FILES ACCESS
This can be corrected by visiting the following path: Servers > Applications (Select Application) > General > Right hand Side (DIRECT PHP FILES ACCESS) > SET TO ACTIVE (TRUE).
- This reply was modified 3 years, 2 months ago by petfresh.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Page end when content endsHi,
Wanting to make it so that for an item without any meta printed, it should only give an extra 15 of space, and if it does have meta, it should provide 30 of space.
I changed part of the snippet to this, but I am having trouble detecting if an item has meta. Could you help?
if ( !empty($order = $document->order )) { foreach( $order->get_items() as $item ) { $product = $item->get_product(); if (isset ($item['meta'])) { $height += 30; // adjust for simple products } else { $height += 15; // adjust for simple products } $height = max($min_height, $height); } else { $height = $min_height; }
I thought about Printnode as an alternative too. It seems like other woocommerce auto print plugins are also doing the same.
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Multi Add-Field Meta Key’sHi Again, Is it possible to make it so it exports shipping_address_1 & shipping_address_2 ?
Thank You!Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Multi Add-Field Meta Key’sHi @algolplus,
Thanks for your Quick Reply.
I was attempting to add the PHP CODE but I am getting the message ‘Please check permissions for your role. You must have the capability “edit_themes” to use this box.’ I have installed a user capabilities plugin to check my capabilities and it said I have them. I then changed the different role ensuring that this capability is active, but I still haven’t had any luck.
Thanks.
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Multi Add-Field Meta Key’sHi Again,
Sorry for the mess with the code blocks. I was trying to show the result i was looking for in a excel looking format.