"Add to Cart" in Lightbox – Shopify - ajax

Here's the URL to my store: http://nibblesofnirvana.myshopify.com
(PASSWORD IS nibblesofnirvana)
What I want to do is present people with two options when they click "add to cart." If you get to "add to cart" on the website now, you'll see that I already have a lightbox that comes up.
I want one option that points to the regular checkout page, then another option that points to a new checkout page that I haven't made yet.
But I haven't been able to get the shopping cart to work. I'd like "BUY NOW" to add the item the person is viewing to the cart, and the other option I display simply link to another page.
I'm assuming this has something to do with the Ajax API, but shopify's documentation hasn't proven to be all that helpful... would be very helpful if someone could point me in the right direction!
Thanks!

you can do this:
click add to cart --> pop up small window of highslide js and in this popup, you can place your two options.. am i following your thought?

Related

"Enable AJAX add to cart buttons on archives" is not working

I am using woocommerce latest version. I am developing a woocommerce supported theme from the scratch. Now I have a little problem. On archive page Ajax for "Add to cart" button is not working. Whenever I click "Add to cart" button the page get reloaded. I check the product setting and I got the "Enable AJAX add to cart buttons on archives " is checked. But the ajax is still not working. So where is the bug?
Note: I am a new bee in woocommerce type work.
The page being reloaded doesn't mean it's not added to the cart. You'll need to check /cart to verify if your product is added.
If you want to cart redirect after successful addition. I believe this is the setting right where the archive ajax cart setting is.

How to Hide the add to cart button on all product pages in magento frontend

I am looking to hide the button "add to cart" on the product pages within the magento store. My products just hold information. You cannot purchase them.
You can comment out the code that calls the button in the view.phtml file in the following location.
app/design/frontend/default/your theme/template/catalog/product/
If you search for 'button' you should find the section of code pretty quickly.
This will remove it from the product page. If you need to remove it from the catalog list page, do the same thing in list.phtml (don't forget both list and grid versions)

Add to cart button is not working

Add to cart button is not working.
Is this due to any jQuery conflict.
I am not using any custom jQuery for add to cart button but had used many extension which had jQuery.
On clicking add to cart button, no action no effect is performed, even nothing is displayed in firebug console.
Can any one tell me how to debug this.
Have you attempted switching on the default template for Magento to see if it could be something in your custom theme? Have you attempted in another browser?
I have most commonly seen the "add to cart" button cease if there were a jQuery conflict or if the button class/name had been changed.
Not sure if you're on version control but if you have migrated the site, there is a possibility that some files may have been left out. If you right click > inspect, are you getting any 404 errors?
Again, we would have to see the code (and possibly a link to the site) in order to accurately diagnose.

paypal express (or any express option) - magento - "terms and conditions"

UPDATED
(Option One):
In magento, at Step 6 of One Page Checkout you see Terms and Conditions.
Now the problem:
Using PayPal Express Checkout (or any express option e.g. Amazon Payments, Google Checkout) there is no Terms and Conditions for the user to agree to.
I need to:
A. Call Magento "Terms and Conditions" block into a modal window (i don't know how + might be too intrusive?)
B. use -- fake -- express checkout buttons and fake/not-magento-native "Terms and Conditions" on Cart Page that user must agree to - before proceeding to: any Express Checkout.
Goal:
User clicks and any express checkout option on cart page >
User encounters popup that has "Terms and Conditions" they must agree to >
Until they agree (probably via ticking a check-box) the real express checkout button is grayed out (or something similar) >
User agrees and then the real express checkout button is active >
User clicks express button and completes express checkout.
go to:
http://pro-tools-training.com/new-magento2/index.php/highslide#
My question is about how to swap the real express checkout buttons on the cart page for fake ones (just images with some sort of onclick event) and then how to place the real express checkout buttons in the popout.
--
(Option Two):
here is another option I am looking at.
i created a static block with a Terms form and assigned a Widget to “PayPal Review Order page”
OK so it shows up but of course its in the wrong place and it does not interact with the Place Order button.
Pros: could work for paypal
Cons: at this point, it’s not an obvious solution for other express checkout buttons
so my fist post tries to address this before hand and this post tries to address it at the last stage.
Option 2 appears too limited. I am now looking closer at option one.
...any feedback helpful
UPDATE THREE:
I'm sure there are many other ways to do this but I came up with this if it will help anyone out there.
go to this page:
http://pro-tools-training.com/new-magento3/index.php/html5-video.html
add to cart > got to cart > click paypal express button
and see i made a popout for express buttons
In general, you can see the code with firebug but it is just (highslide based)
JavaScript firing a popout and the popout contents are written in shortcut.phtml (for paypal exress) and each express button type has its own .phtml file that is similar (e.g. googlecheckout i used link.phtml).
OPEN ISSUES:
1. On iPhone (my iPhone anyway) the popout launches but the checkout buttons are missing. SOLVED: All I needed to do was adjust the width in the js config and the width of the text area in the html.
I want to make the same "terms and conditions" on onestep checkout page - but not a popout. i want it hidden unless the user clicks the paypal radio button. then it appears - in page - and is required to proceed.
any tips?
I think this problem is solved in the Magento 1.11.2.0: After the PayPal page, the T&Cs are displayed on the order review page.

Virtuemart Add to Cart Sends to User Homepage Due to URL When Using an Intro Page

I am using Joomla 1.5x and have installed Virtuemart. I've got an intro page to the main site which is a child of "Home" in the main menu. In order to make the intro page the first thing you see, you have to make it the default in the main menu... You can see my setup at dirtygertie.samwinans.com.
If you click Purchase Soaps! and then the Dirty Gertie Goat Milk Soaps Category in the content then you get to a list of products (right now there is just one). Clicking "Add to Cart" takes me back to the Intro page again and I think it's because that is the default in the main menu. The default template, however, is my regular template... not my intro-page template.
Can anyone help me make it so adding to cart goes to the actual cart (I believe it's the flypage...)
Thank you,
Found the answer: Reply #53 fixes the URL issue. Not a whole lot of testing completed, but appears to be fixed. Hope this helps someone.

Resources