deved-it / salguamagentoaddproduct Goto Github PK
View Code? Open in Web Editor NEWA simply Magento module to add products to the cart using querystring without the form_key parameter
License: GNU General Public License v3.0
A simply Magento module to add products to the cart using querystring without the form_key parameter
License: GNU General Public License v3.0
I'm making a bulk add to cart system with simple products only
Suppose a person wants to order below items:
product A, red color, qty 12
Product A, green color, qty 18
Product B, XL, qty 3
Product C, qty 10
How can I do this?
your query string does not have attribute fileds
I am using the default onepage checkout with this url for testing
http://www.fakedomain.com/checkout/cart/add?product=850
i unfortunately get taken to an empty cart instead.
I looked over the code for this extension, then installed it... It didn't seem to have the desired effect, and still takes users to an empty cart. I thought maybe it was due to the conflict with Simple Configurable Products (even though I'm only adding standalone simple products via querystring), so I set up a dev site and deleted the SCP extension code manually, since the extension is no longer recognized in my Magento Connect. No go.
I should also note we are using the OneStepCheckout extension, but I don't think it affects the cart page.
The add to cart URL I am testing is http://dev.concreteresurrection.com/urlcheckout/add?product=883
This is not an issue :-D
I just wanted to say thanks for creating this module.
It's been a great help, after hours trying to add this functionality myself I came across this and it just worked ๐
Keep up the great work.
Also I'd like to buy you a beer so put a donate button in the .md or maybe even add it to the magento connect store.
Cheers,
Michael
i have installed your extension but
if i call product add link
http://178.62.211.202/urlcheckout/add?product=23649
it goes to http://178.62.211.202/urlcheckout/
and nothing has been added
Doesn't seem to work on a fresh copy of Magento 1.8.1.0. Any suggestions for making it work again?
[edit] sorry my mistake, it just works as stated!
Hi,
Firstly - this is a brilliant solution and happy to have found your work.
I am just wondering if your solution applies to configurable products (aka am I just doing something wrong or no.. config products aren't supported.)
but just got an empty cart
i chose the super_attribute parameter based on info from this article
http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/catalog/adding_a_product_to_the_cart_via_querystring
i dont expect you to code an answer, just a reply would be appreciated to let me know if such functionality is already written in this module.
ive also seen this as a possible solution http://stackoverflow.com/questions/14876680/add-a-configurable-product-to-the-cart-using-url
your solution seems better as it doesn't modify template files.
Thanks
H
I've merged the app directory but keep getting a 404 when I try to add a product at mydomain.com/urlcheckout/add?product=1
I don't see the module listed under:
System -> Configuration -> Advanced -> Disable Modules Output
Does that mean it's not "installed" correctly?
I'm running 1.8.0.0. I'm fairly new to Magento so still finding my way around. Appreciate the help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.