Forum Replies Created

Viewing 15 replies - 1 through 15 (of 34 total)
  • Hi, thank you! But ……………… :))
    With default template and shipping_as_item it works
    [wcj_order_items_table table_class="pdf_invoice_items_table" shipping_as_item="Livrare" columns="item_number|item_name|item_quantity|line_total_tax_excl" columns_titles="|Product|Qty|Total" columns_styles="width:5%;|width:75%;|width:5%;|width:15%;text-align:right;"]

    I can’t use the item_name in Product column, instead i use a special attribute that i created. When i use product_attribute=special_attribute, everything shows except the name for shipping “Livrare” which is blank. The shipping line is there with price, tax line total etc except name.

    organu

    (@organu)

    Yes, i do. Mentioned this from the start.

    After updating to WordPress 5.5.1 | Woocommerce 4.5.1 | Storefront theme | Booster 5.3.0, when i use in template shipping_as_item=”Custom name”, i get fatal error when i try to see the invoice

    If i remove it, i can see the invoice.
    But i need this feature.

    organu

    (@organu)

    So clean installs for WordPress, Woocommerce and Booster with pdf invoice. Tested with default settings for PDF invoice, manual invoice, added to template shipping_as_item=”Livrare”. When i try to see the invoice:
    WP 5.4.2 WOO 4.3.3 BOOSTER 5.2.1 works
    WP 5.5.1 WOO 4.3.3 BOOSTER 5.2.1 works
    WP 5.4.2 WOO 4.5.2 BOOSTER 5.2.1 not working

    Deprecated: WC_Order_Item_Product::offsetSet is deprecated since version 4.4.0 with no alternative available. in wp-includes/functions.php on line 4783
    
    Deprecated: WC_Abstract_Legacy_Order::get_product_from_item is deprecated since version 4.4.0! Use $item->get_product() instead. in wp-includes/functions.php on line 4773
    
    Deprecated: WC_Order_Item_Shipping::offsetSet is deprecated since version 4.4.0 with no alternative available. in wp-includes/functions.php on line 4783
    
    Deprecated: WC_Abstract_Legacy_Order::get_product_from_item is deprecated since version 4.4.0! Use $item->get_product() instead. in wp-includes/functions.php on line 4773
    
    Warning: Cannot modify header information - headers already sent by (output started at wp-includes/functions.php:4783) in wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj-pdf-invoice.php on line 241
    
    Warning: Cannot modify header information - headers already sent by (output started at wp-includes/functions.php:4783) in wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj-pdf-invoice.php on line 242
    
    Warning: Cannot modify header information - headers already sent by (output started at wp-includes/functions.php:4783) in wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj-pdf-invoice.php on line 253

    WP 5.4.2 WOO 4.5.2 BOOSTER 5.3.0 not working

    Deprecated: WC_Order_Item_Product::offsetSet is deprecated since version 4.4.0 with no alternative available. in /wp-includes/functions.php on line 4783
    
    Deprecated: WC_Order_Item_Shipping::offsetSet is deprecated since version 4.4.0 with no alternative available. in /wp-includes/functions.php on line 4783
    
    Fatal error: Uncaught Error: Call to undefined method WC_Order_Item_Shipping::get_product() in /wp-content/plugins/woocommerce-jetpack/includes/shortcodes/class-wcj-shortcodes-order-items.php:320 Stack trace: #0 /wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj-shortcodes.php(287): WCJ_Order_Items_Shortcodes->wcj_order_items_table(Array, '') #1 /wp-includes/shortcodes.php(343): WCJ_Shortcodes->wcj_shortcode(Array, '', 'wcj_order_items...') #2 [internal function]: do_shortcode_tag(Array) #3 /wp-includes/shortcodes.php(218): preg_replace_callback('/\\[(\\[?)(wcj_in...', 'do_shortcode_ta...', '<h1>Invoice</h1...') #4 /wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj-pdf-invoice.php(206): do_shortcode('<h1>Invoice</h1...') #5 /wp-content/plugins/woocommerce-jetpack/includes/classes/class-wcj- in /wp-content/plugins/woocommerce-jetpack/includes/shortcodes/class-wcj-shortcodes-order-items.php on line 320
    organu

    (@organu)

    General > Document options > Invoice and you have to set up when invoice is created.

    organu

    (@organu)

    Active plugins Woocomerce and Boster with PDF Invoicing
    PDF Invoicing default settings and templates.

    I don’t know with Divi, but in a custom theme and with WooBeWoo Filter the code provided works.

    An advanced tab you have the setting “Attribute behavior” and option hide. That should do the trick

    Same problem here, unresolved for two years now. Link
    I can’t login or recover password and no replies on customer support.

    @ringostar77 Hi can you explain what you did? I have similar issue on a plesk environment and i’m new to this. Thank you

    I managed to make analytics work putting this code inside the ajaxed div

    	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    	m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    	})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
    	ga('create', 'XX-XXXXXXXXX-X', 'auto');
    	ga('set', 'page', '<?php global $wp; echo  '/'.$wp->request ;?>');
    	ga('send', 'pageview');

    Tested on analytics real time, and the line ga('set', 'page', '<?php global $wp; echo '/'.$wp->request ;?>'); sends to GA the url. Using the code without this line will only update the page title not the url.
    This are Google recommendations

    Found the issue. Not for all countries, state is required. For example: country Romania, in class-wc-countries.php we have this

    'RO' => array(
       'state' => array(
         'label'    => __( 'County', 'woocommerce' ),
         'required' => false,
       ),
    ),

    Partially solved with filter. But you have to make priority 999

    add_filter( 'woocommerce_billing_fields', 'formulare_filter_billing_state', 10, 999 );
    function formulare_filter_billing_state( $address_fields ) {
    	$address_fields['billing_state']['required'] = true;
    	return $address_fields;
    }

    I say partially because the filter makes the field required, but when the state field is input after label it has * and it’s required , when state field is select after label it has (optional) and is required.

    I use clean WordPress 4.9.7 / Woocommerce 3.4.3 / Storefront install. No other plugins.

    Also using this plugin, state field appears as not required by default.

    Clean WordPress 4.9.7 / Woocommerce 3.4.3 / Storefront install.
    County still appears as optional.

    My bad.

Viewing 15 replies - 1 through 15 (of 34 total)