checkout

Get billing information in order review section of one page checkout in Magento

笑着哭i 提交于 2019-12-04 06:51:19
I am trying to display the billing and shipping information in the "Order Review" section of One Page Checkout in Magento 1.7.0. However, it just doesn't want to co-operate at all. I tried several methods mentioned in various forums and in SO as well. But none of these methods seem to work. Here are the ones I have already tried. http://www.magentocommerce.com/boards/viewthread/55281/ http://www.magentocommerce.com/boards/viewthread/55281/ Any help would be greatly appreciated! Thanks in advance. Mage::getSingleton('checkout/session')->getQuote() ->getShippingAddress() ->getData(); Mage:

Paypal Express Checkout insists on phone number even though option turned off (calling from Magento)

依然范特西╮ 提交于 2019-12-04 06:19:04
I'm using the Paypal 'Express Checkout' option in Magento. (I'm not using any express checkout buttons, it's just because I was having problem with returning from Website Payments Standard). In Paypal's Website Payment Preferences, I've set the 'Contact Telephone Number' field to off. I've also made a number of changes on the Magento side to make telephone number optional (as per this post ). However, the telephone number field still appears during Paypal checkout, and is mandatory. Obviously, this is potentially going to cause customers to abandon the transaction. Initial response from Paypal

Add states for shipping zones instead of postcodes in Woocommerce

北慕城南 提交于 2019-12-04 04:48:47
问题 I have a woocommerce website. by default in woocommerce i can limit shipping zones by zipcode.... But How can I add states of my country in shipping zones so that customers can choose the state they live by a "dropdown menu" in checkout page instead of entering zip code ? I'm new to coding, so can someone pls tell me where to enter the codes as well. Please... 回答1: If states are not defined for your country in woocommerce, you should need to defined them all with a letter code (2 or 3

Checkout price issue using woocommerce_product_get_price hook

依然范特西╮ 提交于 2019-12-04 04:46:31
问题 I need to double the price for every product in Woocommerce frontend. For this I used the following code: add_filter( 'woocommerce_product_get_price', 'double_price', 10, 2 ); function double_price( $price, $product ){ return $price*2; } But there is an error using this code. checkout page price is not correct. for example the product orginal price is 10. We double the price by this code . so the product price is 20 now. When i added this product to the cart then cart and checkout page price

WooCommerce: How to retain checkout info when client leaves then comes back?

匆匆过客 提交于 2019-12-04 04:17:52
Is there a simple way or a plugin to retain checkout information entered by the client after he/she leaves and comes back? This plugin retains "fields information for customers when they navigate back and forth" however it has quite a lot of recent bad reviews so I don't think I'll use that for production. Any alternative suggestion? ---- Update ---- The code below is working, but only if data is submitted! The only possible ways are javascript/jQuery form event detection on checkout fields and worpress Ajax: Using ajax connected to some session transients function (as in code below) . Using

Time loop for WooCommerce checkout select option from date picker input field

喜夏-厌秋 提交于 2019-12-04 02:05:56
问题 Input field one - delivery date has a datepicker attached. This fills in the required date by client. This field determines the delivery time options that are populated in the select field next to it. However the options are based on some rules Time slots are 30 mins intervals from 11am to 4pm. If the date chosen = today, delivery start time = current time + one hour. if date is future, delivery is from 11am to 4pm. 30 mins intervals I need help making the array for the woocommerce options

Paypal Checkout Express empty cart problem

荒凉一梦 提交于 2019-12-03 22:46:10
问题 I'm working on Paypal integration in my website, following Paypal's API specifications. I'm testing it in a sandbox, and after sending a SetExpressCheckout request like this: CURRENCYCODE=EUR &RETURNURL=http%3A%2F%2Fwww.xxxxxxxx &CANCELURL=http%3A%2F%2Fwww.xxxxxxxx &PAYMENTACTION=Sale &L_PAYMENTREQUEST_0_NAME0=T-shirt+ring-spun+attillata%3B+taglia+L%3B+colore+Navy &L_PAYMENTREQUEST_0_NUMBER0=0LLR7IQ-B0SIE+%28Product+%230LLR7IQ-B0SIE%29 &L_PAYMENTREQUEST_0_DESC0=160+g%2Fm%C2%B2%2C+100+%25

Add custom header for Checkout pages in Magento (1.8.x)

早过忘川 提交于 2019-12-03 21:56:39
I am trying to add a customised header to my Checkout pages, I have figured out removing the header from the page is basically adding a node in the /layout/checkout.xml file, could anyone explain how to basically a new altered header that only applies to all the Checkout pages. Current default/layout/checkout.xml <default> <remove name="footer"> <!-- removes the footer from checkout --> ... // all other xml data.. </default> pseudocode for my theme if (a CHECKOUT PAGE) { use 'custom checkout header' else use the standard default header. In your local.xml file add the below code to add a custom

Hide prices and disable checkout for guests [closed]

爷,独闯天下 提交于 2019-12-03 17:01:18
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there any extension that allows to hide product prices and disable checkout for not logged in users? Instructions on how to modify yourself: http://www.magentocommerce.com/boards/viewthread/22673/ Look for the instructions posted by szotyi about halfway down the post. He does a nice job of walking you through the process. Or, one you can buy: http://www.magentocommerce.com/magento-connect

Add a custom field to checkout and to my_account user details on registration

一笑奈何 提交于 2019-12-03 16:32:40
I have a woocommerce site I am building and I want to add the user's birthdate to the usermeta in the database as well as display it in the wp-admin under their profile. I have limited experience with messing with PHP. I have pulled from the Woocommerce docs here to display it on checkout, which it is doing correctly. The Woocommerce docs show you how to add it to the order info but not to the user account itself. It is correctly being added to the order but not the account. Here is what I have so far: /** * Add the field to the checkout */ add_action( 'woocommerce_after_order_notes', 'my