Mick
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Div of widget Basket stays emptyMaybe anyone got a solution for this problem?
Forum: Plugins
In reply to: [WooCommerce] Div of widget Basket stays emptyChanged the locale to en_US, also changed it inside the settings. Still no result ??
Forum: Plugins
In reply to: [WooCommerce] Div of widget Basket stays emptyThanks for your answers.
When I go to “woocommerce/includes/widgets/class-wc-widget-cart.php” it also contains the following code: “$this->widget_name = __( ‘WooCommerce Cart’, ‘woocommerce’ );”The problem for me is not the change of the word “Cart” to “Basket”. The problem is that the mini-cart isn’t visible.
On the left you see the mini-cart of the development platform. On the right you see the mini-cart of the live website.
Forum: Plugins
In reply to: [WooCommerce] Div of widget Basket stays emptyHello Gary,
Thanks for your answer. Our development website and live website both have the en_GB locale. Although the live website has the name ‘cart’, but maybe that has been changed somewhere between the updates of Woocommerce.
Like you said; the string change probably isn’t the cause of this all.. But I don’t know what this is causing it either.
Forum: Plugins
In reply to: [WooCommerce] Div of widget Basket stays emptyEdit: you can reach me via pmvd90[at]gmail.com
Forum: Plugins
In reply to: [WooCommerce] Session chosen shipping methods not workingWhy do you need the exporter code? It’s just basic Woocommerce code.
But in other words, I have found a solution:Give the parameter $order_data to the function. Inside $order_data you find the shipping method.
function wc_csv_export_modify_row_data( $order_data, $order, $csv_generator ) { // check shipping method $chosen_shipping = $order_data[0]['shipping_method']; }
Forum: Plugins
In reply to: [WooCommerce] Session chosen shipping methods not workingThe code worked before. How can I change it so it will work?
I need to know what the chosen shipping method is.Forum: Plugins
In reply to: [WooCommerce] Session chosen shipping methods not workingThe export will take place on two different places.
1: on the order place (/wp-admin/edit.php?post_type=shop_order). Here it is possible to select an order and export it as an csv
2: there is also a plugin running named ‘WooCommerce Customer/Order CSV Export’ which exports the csv file to a webserver
Forum: Plugins
In reply to: [WooCommerce] Session chosen shipping methods not workingThis code will run when its being exported as an csv.
function wc_csv_export_modify_row_data( $order_data, $order, $csv_generator ) {} add_filter( 'wc_customer_order_csv_export_order_row', 'wc_csv_export_modify_row_data', 10, 3 );
Depending on the chosen shipping method some options will change inside the csv.