shipping

Add Shipping class below each product in WooCommerce Shopping Cart page

六月ゝ 毕业季﹏ 提交于 2019-12-23 18:30:25
问题 I've configure shipping class for my products. But I want to display them below each product in the shopping cart page. Something like this : Can this be done through editing the PHP? 回答1: To display the product shipping class name in cart page, there is many ways to do it: 1) Using a custom function hooked in woocommerce_cart_item_name filter hook, this way: add_filter( 'woocommerce_get_item_data', 'shipping_class_in_item_name', 20, 2 ); function shipping_class_in_item_name( $cart_data,

Launch python into a mac application

独自空忆成欢 提交于 2019-12-23 14:25:06
问题 I have a software written in python with a graphical user interface written in PyQt. To create an executable of the software I ship with it a Python and a Qt precompiled version and the trick seems to work in windows and linux since I know How to create an istaller. The problem is to embed evrything into a mac .app To launch the software I use the following shel script export DYLD_LIBRARY_PATH=`pwd`/lib:$DYLD_LIBRARY_PATH export DYLD_FRAMEWORK_PATH=`pwd`/Resources PYTHONPATH=$PYTHONPATH:. bin

Launch python into a mac application

删除回忆录丶 提交于 2019-12-23 14:24:10
问题 I have a software written in python with a graphical user interface written in PyQt. To create an executable of the software I ship with it a Python and a Qt precompiled version and the trick seems to work in windows and linux since I know How to create an istaller. The problem is to embed evrything into a mac .app To launch the software I use the following shel script export DYLD_LIBRARY_PATH=`pwd`/lib:$DYLD_LIBRARY_PATH export DYLD_FRAMEWORK_PATH=`pwd`/Resources PYTHONPATH=$PYTHONPATH:. bin

Woocommerce get current shipping zone

时光怂恿深爱的人放手 提交于 2019-12-23 11:58:29
问题 I create a custom shipping method. (https://docs.woocommerce.com/document/shipping-method-api/) In the calculate_shipping function i want to set the price of my shipping method based on the shipping zone: If shipping zone is 'Zone 1' set price to 15 else set price to 20 So i want to know, how can i get the current shipping zone ? I already try to see this doc: https://docs.woocommerce.com/wc-apidocs/class-WC_Shipping_Zone.html Maybe i don't understand... public function calculate_shipping(

Shipping not transferring to Paypal Express with Magento 1.4.2

时光总嘲笑我的痴心妄想 提交于 2019-12-23 05:01:53
问题 I have a site in development that I cannot get the shipping to transfer with using Google Checkout or Paypal Express. I believe the error with Google Checkout is the fact it needs an HTTPS callback url and since I am just developing currently I do not have one. As for the Paypal Express setup, I have followed every possible help guide out there and I seem to be hitting a road block. Why is shipping not showing up on the paypal site? Here is a link to the development site. http://38.98.53.62/

How to develop a custom shipping module for a new carrier in Netsuite?

爷,独闯天下 提交于 2019-12-23 04:43:33
问题 I'm interested in developing a custom plugin for a new carrier. I see Netsuite offers UPS, FedEx, USPS, Endecia, etc. I found this page on Netsuite (http://www.netsuite.com/portal/developers/dev-resources.shtml) but it's not very clear how a developer like me can go about developing this. Does Netsuite even let outside developers create their own shipping modules? I'm interested in developing my own tax module as well one day. 回答1: One possible solution (Assuming the shipping provider has the

Postmates integration with Shopify Shipping/Carrier services

烈酒焚心 提交于 2019-12-23 02:34:49
问题 so we are looking to integrate this application: https://postmates.com/developer/docs into our Shopify platform. For how it works please check: http://blog.postmates.com/post/104856343907/a-technical-perspective-on-the-postmates-api . So we are looking for add a Carrier Service to our store. And As Postmates provides services to few regions as follows we will add other mutiple shipping options for non-Postmates supported regions. Postmates is currently available in the San Francisco Bay Area

Override all shipping costs for a specific shipping class in Woocommerce

霸气de小男生 提交于 2019-12-23 02:04:09
问题 I have a number of shipping classes with prices set in multiple shipping zones. Is it possible to detect if ANY product within the cart belongs to a specific shipping class, and if so set the shipping cost to 0 and display a message? I would like to use this mechanism for products which require special handling and would be shipped via freight. So if a customer's order contains any of these products the shipping quote would be provided manually post-sale. Thanks for the help. 回答1: The

Prestashop shipping cost by state

不羁岁月 提交于 2019-12-22 11:24:55
问题 Is there by any chance a way to set shipping cost by state in a carrier in prestashop? i.e. let's say i want a different shipping cost to send in Alabama than in Alaska with the same carrier Thanks 回答1: There are a couple ways of doing this. You can purchase an external module, such as this one, or create an override like so: 1) Copy "classes/Address.php" to "override/classes/Address.php". 2) In line 28 change class name from AddressCore to Address 3) Before function getZoneById, paste this

How to decode U.P.S. Information from UPS MaxiCode Barcode?

守給你的承諾、 提交于 2019-12-22 09:25:09
问题 I recently purchased a 2D Barcode reader. When scanning a U.P.S. barcode, I get about half of the information I want, and about half of it looks to be encrypted in some way. I have heard there is a UPS DLL. Example - Everything in bold seems to be encrypted, while the non-bold text contains valuable, legitimate data. [)>01961163522424800031Z50978063UPSN12312307G:%"6*AH537&M9&QXP2E:)16(E&539R'64O In other words, this text seems OK - and I can parse the information [)