Comments on: [wcj_order_items_meta] https://booster.io/shortcodes/wcj_order_items_meta/ WordPress WooCommerce Plugin Wed, 17 Apr 2024 11:17:34 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: RokasJ https://booster.io/shortcodes/wcj_order_items_meta/#comment-34403 Tue, 05 Feb 2019 13:05:19 +0000 https://booster.io/?p=7115#comment-34403 In reply to José Ramón.

Hi,

Unfortunately it is not possible to change the date format and the shortcodes output the data as it is saved but we have added this to our todo list.

Best regards,
Rokas – Support Team

]]>
By: José Ramón https://booster.io/shortcodes/wcj_order_items_meta/#comment-34366 Tue, 05 Feb 2019 00:15:25 +0000 https://booster.io/?p=7115#comment-34366 Hi, i’ve put into invoice [wcj_order_items_meta meta_key="_ebs_start_format"] and [wcj_order_items_meta meta_key="_ebs_end_format"]. Those are meta values for some products bookables.

But they appear into invoice in english format (Y, mm, dd).

Can i change the format for this shortcodes to date in Spanish (dd-mm-YY)?

Thanks a lot,

Joserra

]]>
By: RokasJ https://booster.io/shortcodes/wcj_order_items_meta/#comment-31515 Tue, 04 Dec 2018 20:02:50 +0000 https://booster.io/?p=7115#comment-31515 In reply to giuseppe martone.

Hi Giuseppe,

You would need to add these columns to your [wcj_order_items_table]:
item_meta=COLLI-Key
item_meta=LOTTO-key
where COLLI and LOTTO keys are actual meta keys.

Best regards,
Rokas – Support Team

]]>
By: giuseppe martone https://booster.io/shortcodes/wcj_order_items_meta/#comment-31487 Tue, 04 Dec 2018 09:21:18 +0000 https://booster.io/?p=7115#comment-31487 Hello Staff
We are testing this feature (plugin free version)
We would like to print into Invoice some “wc-item-meta”.

In our website, we inserted this snippet into child functions.php so we are able to show into back-office > manage single order >> manage single meta data.
——————————————————————————
function add_order_item_meta($item_id, $values) {
$key = ‘COLLI’; // Define your key here
$key2 = ‘LOTTO’; // Define your key here
$value = ‘value’; // Get your value here
$value2 = ‘ value ‘; // Get your value here
woocommerce_add_order_item_meta($item_id, $key, $value);
woocommerce_add_order_item_meta($item_id, $key2, $value2);
}
add_action(‘woocommerce_add_order_item_meta’, ‘add_order_item_meta’, 10, 2);
——————————————————————————————
Question:
How to print those meta_key and relative meta_value into Invoice template? Is it possible?
———————————————
columns=”item_sku|item_name|COLLI-Key|LOTTO-key|item_quantity|line_total_tax_excl”
columns_titles=”Codice|Prodotto|COLLI_value|LOTTO_value|Qty|Totale”
columns_styles=”width:15%;|width:52%;|width:6%;text-align:center;|width:6%;text-align:center;|width:6%;text-align:center;|width:10%;text-align:right;”]
———————————————–

Someone can help me please?
BR
Giuseppe

]]>
By: huangzec https://booster.io/shortcodes/wcj_order_items_meta/#comment-10954 Sun, 05 Feb 2017 04:48:28 +0000 https://booster.io/?p=7115#comment-10954 I need to format the order_items_meta value, for example: [wcj_order_items_meta meta_key="Extras"], how should i do?

]]>