shipping

1 abstract method and must therefore be declared abstract or implement the remaining methods

人盡茶涼 提交于 2019-12-12 03:16:04
问题 I recently upgraded my magento store to 1.7.0 version from 1.5.1. Most of the things are working as it should be, but when I got to Shipping Method option via admin area I get following error. Fatal error: Class Zenprint_Ordership_Model_Shipping_Carrier_Ups contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Mage_Usa_Model_Shipping_Carrier_Abstract::_doShipmentRequest) in /home/dev/public_html/app/code/community/Zenprint/Ordership/Model

Add or remove woocommerce error messages

南笙酒味 提交于 2019-12-12 02:12:55
问题 i am developing this shipping cost generator for TNT as a WordPress woo-commerce extention.the thing is if there is an error i need to show the error and restrict user from checkout.I used following method to do that. The problem is how i can remove this notice when the user entered the correct data and manage the thing done. if (!empty($xml->ratedTransitTimeResponse->ratedProducts->ratedProduct[0]->quote->price)) { $cost+= (float)$xml->ratedTransitTimeResponse->ratedProducts->ratedProduct[0]

Remove Shipping Option if Condition is Met

蓝咒 提交于 2019-12-12 01:45:37
问题 I would like to remove the standard shipping option productmatrix_Standard from the shipping methods if a certain condition is met. I believe I need to override the following: /** * One page checkout status * * @category Mage * @category Mage * @package Mage_Checkout * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Checkout_Block_Onepage_Shipping_Method_Available extends Mage_Checkout_Block_Onepage_Abstract { protected $_rates; protected $_address; public function

Paypal Shipping issue with multiple items and a base price

久未见 提交于 2019-12-12 01:00:30
问题 I have 2 items for sale. I have a shipping base price of $7.50 and $2.00/per additional item I have set up the advanced code Shipping=$7.50 Shipping2=$2.00 Everything works fine, except when a different item is added to cart, the cart charges the base price ($7.50) again or twice I know this is a common issue and I guess what Im trying to say, is Im trying to get the entire cart and not each item to charge the base price ($7.50) and $2.00 per additional item. All products are same size and

WooCommerce rename “Free Shipping” field on checkout

你离开我真会死。 提交于 2019-12-11 22:18:44
问题 We have included shipping costs into the cost of the individual products. As such we enabled free shipping, but we want to rename "Free Shipping" text which appears on checkout to say "Shipping Included In Cost of Product" or something similar to that. I don't really know how to create a filter to do this . I found the verbiage in woocommerce/classes/shipping/free-shipping/class-wc-shipping-free-shipping.php I also found http://docs.woothemes.com/document/hooks/ but again I don't really know

Can't update the shipping amount while checkout in woocommerce(wordpress)

微笑、不失礼 提交于 2019-12-11 19:36:06
问题 I am trying to add shipping cost to the current order with a custom plugin code. I have write a plugin to display some radio buttons for delivery option and pickup option and embed one javascript file for the radio check event. The following is my plugin code: if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { function radio_button_checks(){ wp_register_script('wp_head',plugin_dir_url(__FILE__).'radio_check.js',array( 'jquery'

Magento 2 - Get Customer Address Id through Shipping Address at Checkout Session

梦想的初衷 提交于 2019-12-11 17:36:48
问题 I'm having trouble with getting customer address Id as it returns a null value. This is what I have tried: $checkout = $this->_sessionCheckout->getQuote(); if ($checkout) { $shippingAddress = $checkout->getShippingAddress(); if ($shippingAddress) { $addressId = $shippingAddress->getCustomerAddressId(); $this->_logger->log(100, print_r('address Id: ' . $addressId , true)); //Returns null /** @var \Magento\Customer\Api\Data\AddressInterface $address */ $address = $this->_addressRepository-

WooCommerce - add shipping costs and add an extra fee for paypal gateway

回眸只為那壹抹淺笑 提交于 2019-12-11 12:17:12
问题 First Question In my WooCommerce shop I use the plugin PayPal Express. With the plugin Woocommerce payment fees I can set an extra fee for the paypal payment. The fee will correctly shown in the shopping cart and will correctly add to the sum. But if I want to pay with Paypal, I am redirected to the Paypal site and there is only the total, WITHOUT the extra fee. Where is the mistake? Woocommerce payment fees Second Question I have two products in my shopping cart The shipping cost of product

Prestashop 1.6 - free shipping based on final total price

人盡茶涼 提交于 2019-12-11 12:01:55
问题 I am using prestashop 1.6. My site is offering "free shipping" for purchases over 80 bucks . My site is also having a promotion of "Buy 1 get 1 free". Now, one item can cost about 60 bucks and I insisted the customer to buy 2 products from the same category in order to be entitled for buy 1 get 1. If a customer buys one product, it should cost 60 bucks (no free shipping because final price < 80) If a customer buys 2 = 120 bucks but after the "buy 1 get 1 free" promotion, the final total price

UPS API Shipping rates in the UK returning way too high

一世执手 提交于 2019-12-11 10:49:07
问题 I'm building a Magento store with US and UK storefronts using UPS for shipping. UPS rates, as returned by the API, are fine in the US, but extremely high for the UK -- £20+ for a 2.5 KG package shipping from and to fairly approximate addresses in the UK. I get the feeling it's returning rates for shipping from the UK to the US so maybe I need to make a UK-specific account, or use a different access URL, I'm not really sure. Here's my request: <?xml version="1.0"?> <AccessRequest xml:lang="en