Please let me know the file name or location of file where woocommerce stores the shipping method id name cost and tax status.
woocommerce stores data in wp_options table but i am currently unable to find the files through which it is doing this
thanks any help will highly appriciated
Below Folder in all default woocommerce shipping method class is available in wordpress.
wordpress->wp-content->plugins->woocommerce->includes->shipping
Let me know if any queries regarding the same.
Related
I'm writing a plugin to intercept the creation of bookings in wordpress. To have all the booking information I need to access the information filled in the addon fields (Woocommerce Product Add-Ons plugin) of a bookable product. The hooks I currently use give me access to the bookingId and object:
woocommerce_new_booking
woocommerce_booking_unpaid
I want to know how to get the add-on data from here, since I can't find it in the meta data? Is there a way to get it from the bookingId, orderId, etc?
Kind regards.
I have found the following:
$orderItem = wc_get_order($booking->order_id)->get_item($booking->order_item_id);
foreach($orderItem->get_data()["meta_data"] as $value){
error_log($value->key);
error_log($value->value);
}
I'm creating a report that contains details of sales order per order number in BI Publisher using Oracle Fusion Cloud r13. Now, my problem is, I can't find the table that contains the shipping method and payment terms. I tried to search it to Google but I can't find anything that can help me. Can someone here knows what the query for it is? Or the table only. Thanks
These should help you. You'll have to do some more digging to know what exactly these do and how to link to them.
Don't forget about select * from all_tab_cols you can query against that to find any table that has a column your looking for.
Also, while in Oracle EBS, there's always the help, diagnostics, examine which should get you the field. And record history will give you the table/view name
Ship Method
oe_order_headers_all.shipping_method_code
wsh_trips.ship_method_code
wsh_new_deliveries.ship_method_code
wsh_delivery_details.ship_method_code
wsh_carrier_ship_methods
wsh_carrier_services
Payment terms
oe_order_headers_all.payment_term_id
ra_terms_tl.payment_term_id
On this page "/Admin/Shipping/Providers" I see Australia Post, Canada Post, FedEx, etc and one default active "Fixed Rate Shipping".
Where can you find the table that stores the shipping providers?
Thanks,
List of shipping provider is not stored intp database (table). They are plugins. You can find them into \Plugins directory.
But some shipping providers (plugins) store some data into table.
I'm building a commerce site using Drupal Commerce. I've got it going very smoothly now but I've hit a dead end when I'm trying to create a module for handling shipping information and sending it to the shipping company for label printing.
The problem is, that I have created a new tab in an Order page,
admin/commerce/orders/order_id/printlabel
and I can access this page via a tab when I edit an order.
Now, I have no idea how I can pull the order_id number in the module. I have tried almost everything, entity_view, entity_metadata_wrapper, commerce_order.module API, but I have no idea how I can access the id and that is the key. When I get the ID, I can get the shipping information linked to it and I can send this data to the shipping company and save it.I also looked into the ways Commerce does things like combine Payment with Views but it seemed a bit too complicated for me to try so, I'm asking here. I can't get any answers on Drupal's own support forums.
Hope i got your question right.You created a custom menu admin/commerce/orders/*/printlabel where * is the order id of a particular order. You need the order id.
The simplest solution to it is getting it through the arguments or arg(). This is a function that drupal provides to get data from the arguments. For eg
if your url is www.xyz.com/admin/commerce/orders/0001/printlabel & you need order id i.e 0001 you can get it using arg(3).
I am using D7 and UC3, and I try to import many products at a time using CSV data via Feeds module. The problem is that Feeds hasn't Product information fields (like SKU, price etc.) in target column, so that I can't upload all that necessary data. So, is there any way to access those fields from product information via Feeds (or otherwise). Thanks in advance!
That's the data I can't upload via Feeds:
download the zip file and extract to your module folder from below url:
https://drupal.org/node/1802908
for help go through:
http://drupal.org/node/1797778
Problem solved. Found a module for D7 that adds all the UberCart attributes in the list:
http://drupal.org/node/1187096