April 26, 2011 at 6:27 pm #3012
We have a situation where a client has 2 urls (one for a landing page, one for their main site with store). i would like to be able to call the add to cart directly of a specific product within the store with an anchor on the landing page site. thoughts?April 26, 2011 at 11:59 pm #31737wpCommerceModerator
You can specify a landing page URL for each product in the
WP eStore->Add/Edit Products->Additional Product Details->Button Linksection. Once someone clicks on the “Add to Cart” button he will be redirected to that landing page.April 27, 2011 at 2:29 pm #31738
i know that but you have the situation backwards.
this starts FROM the landing page not TO the landing page.April 27, 2011 at 11:41 pm #31739wpCommerceModerator
You can use a link to add a product to the shopping cart. For example: the following will add product 1 to the shopping cart:
In your case you can link your “Order Here….” image to the following URL:
Replace 1 with the actual product ID.
Now, when a visitor click on the “Order Here” image he will go to the “Order-now” page and the item will also be in the cart.
You will need to use the extra eStore shortcodes plugin to get this option. You can find the plugin here:April 30, 2011 at 6:11 am #31740rainbowmuiscMember
Hi want to do the same thing, though “?wp_eStore_add_to_cart” is returning an error?
The website encountered an error while retrieving
It may be down for maintenance or configured incorrectly.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.
The function does add the item to the cart but returns the above error.
The extra eStore shortcodes plugin is installed and working with other functions perfectly.
Any suggestions? Thanks.April 30, 2011 at 6:50 am #31741rainbowmuiscMember
Updating wp eStore from 5.0.0 to 5.2.8 fixed it. Working now.May 20, 2011 at 5:07 am #31742
i tried this with the latest version.
there are no errors displayed and the url gets re-written but the cart remains empty. do i need to set something in the settings to make this work?May 20, 2011 at 5:11 am #31743
Please post a link to the page where you are testing this (What can I do on that page to see what you are seeing?)May 20, 2011 at 1:49 pm #31744
look at the buy now buttonMay 20, 2011 at 11:42 pm #31745
In your link, you are missing the “www”. Try making the link using the following:
This page will explain why this is important:May 21, 2011 at 2:17 pm #31746
thanks amin.May 21, 2011 at 3:49 pm #31747Cheryl RogersMember
I have a similar issue. I have a landing page on my website outside of the WordPress installation. If I upload the page INTO the WordPress installation, can I add the estore add to cart button to that page enabling it to work with the Wp Affiliate software? (This is an HTML page prepared in Adobe GoLive.)
I tried a template to strip the sidebars off the WordPress page to see if this would enable me to recreate the landing page. But when I stripped off the sidebars, fancy2 stretches across the page. Maybe a column would resolve this, but I’m still having trouble renaming the WP permalinks (even though I found a great plugin for this). It must be the PHP 4…
Any suggestions are appreciated.May 21, 2011 at 11:56 pm #31748
WordPress plugins only work in pages created by your WordPress (it won’t work on standalone HTML pages). You should not use PHP4 anymore. WordPress from it’s next release will make the minimum requirement PHP5 and unless you are ready for it you will be stuck with old WordPress version.December 24, 2011 at 2:00 am #31749DebraReedMember
My product has variations. Is there a way to do this same thing from my landing page? Meaning, customer wants to buy product A, variation 1 from landing page. Can I do this with a specific URL?December 24, 2011 at 8:26 am #31750adminKeymaster
I added an option to specify variation but it won’t be able to handle variations with price change. You can add variation like this:
“Small” and “Red” are variations in this example.
Make sure to get a new build of the extra eStore shortcodes plugin before trying this.
- You must be logged in to reply to this topic.