I have a checkout page in WordPress using WooCommerce and WooCommerce Smart Coupons. When you are about to purchase the coupon, you can enter your card details and then press 'Place Order'.
When buying a coupon, a field appears showing "Send Coupons To..." and then either send to me or someone else. This appears underneath everything and is confusing the clients.
Is there a way to place the 'Place Order' button underneath the field of "Send Coupons To..." ?
I have searched but given that I'm not knowledgeable in PHP, I could only get so far.
Thanks in advance. Please let me know if you require more info to solve this.
Related
I'm looking for a way to create a feature in WooCommerce that would ask for a guests email or phone right after he clicks on the "Add to cart" button.
Here would be the scenario I'm planning to build:
Guest user clicks on the "Add to cart" for a specific product
All WooCommerce functions that would normally follow this operation get paused
An input field appears asking for email or phone
Once the user submits the data all of the remaining functions that were paused continue running (product is added to the cart, redirects are made etc.)
I would very much appreciate to know how to perform the 1st and 2nd steps in this scenario. Maybe there is a specific hook or filter that can be used to pause and then resume the executions? Or maybe there is a PHP function that can break and then resume execution of a process?
So far I have found this filter woocommerce_add_to_cart_validation that can be used to validate if all is OK and then either Adds the product to the cart or redirects to product page and displays an error message, however this does not allow me to stop the process and present additional data to the user.
Any help would be very much appreciated :)
I have developed a system to create orders programmatically in woocommerce. However when a customer clicks on the link to go to their payment page it does not show the 'Have a Coupon' input box. I haven't adjusted any of the templates.
Any ideas on how I can get the coupon input box to appear on the customer payment page?
Location I am talking about is:
<mywebsite>/checkout/order-pay/<order_id>/?pay_for_order=true&key=<order_key>
Thank you for any help with this, I am struggling with it
Payment page is an endpoint, so must apply coupon before it reaches this point
i need WordPress shopping cart function with or without any pluggins. When a registered user click the add to cart button on the normal post, it needs to go to shopping cart. The checkout function should not have the shipping and payment gateways as the user click the check out button he should recieve the mail for order confirmation with the permalinks of the post bought by him, meanwhile the post permalinks has to be saved in data base which can be viewed by the user later. Admin should recieve the mail for perchasing order.
Perhaps you can use this plugin. Its a wordpress e commerce plugin and should take care of all the things you have mentioned.
Salman, Try WP e-Commerce one of my favorite and o.s plugin
For more http://sixrevisions.com/wordpress/top-5-excellent-e-commerce-plugins-for-wordpress/
If you really need a simple cart other than Wordpress integrated plugin, you can go for OpenCart, which was easily administrate and user friendly with analytics and so on...
Please see my answer to similar question here.
In addition - the WP Order Cart plugin does not save orders to database, it only sends the order email to both buyer and seller - this functionality is still in development.
I am developing a website selling gardening products using PHP and SQL. The user searches for a plant, finds the one they want, clicks on it for more details and there they see an option to add to cart. I have signed up to Paypal's business account and used their add to cart button. But currently, when I try it out and click the button, it doesn't do anything. Obviously this is because know variables have been passed about that specific product. What do I need to do in order to get each item into the cart?
#QUESTION:
To impliment a normal POST to pass to standard form, follow this tutorial:
http://www.evoluted.net/thinktank/web-development/paypal-php-integration
#INTEGRATED SOLUTION:
Integrated solutions will allow you to make these transactions without going offsite.
Using this method requires alot more security.
I have a website giving services for money, i just want a button goes to a paypal checkout page with a price specified by me. There is no product or service name, just website name and price. But i couldn't find something like that. I have too many different prices, so i can't create buttons for every price. Is it possible to define price as a variable in my webpage, and send paypal this? I use php.