Direct linking
Direct linking
A question about linking directly to Able Commerce functions: Is there a way to add a product to the basket and proceed to checkout by clicking one link on an external web page that is not related to Able Commerce?
The closest I've been able to come is a link that goes to the product detail page.
The closest I've been able to come is a link that goes to the product detail page.
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
You have to know the product id and it won't work with options or kits.
yoururl/BuyProduct.ashx?p=#
Replace # with the ID of the product.
yoururl/BuyProduct.ashx?p=#
Replace # with the ID of the product.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Direct linking
what is the link if you want to add multiple products to the cart by one single link from an external site? thanks.
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Direct linking
This feature is not built in. You could customize a script to do so without much effort.archeie wrote:what is the link if you want to add multiple products to the cart by one single link from an external site? thanks.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Direct linking
sorry but that really isnt helpful. can u please be more specific how to create that script..thanks
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: Direct linking
The file BuyProduct.ashx would serve as a good starting point. This file adds a single product to the basket based on a query string parameter. Extend the script to fit your need.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Re: Direct linking
ok we're not techies to create new codes into that file and in fact we have the hosted platform which means we can only see the compiled version of the codes. Before we signed up to the hosting account we were told that this solution is feasible.
i sent an email to support@ablecommerce.com but havent received any responeses yet.
i sent an email to support@ablecommerce.com but havent received any responeses yet.
Re: Direct linking
There is some code posted in this thread that might be helpful
viewtopic.php?f=42&t=7100
viewtopic.php?f=42&t=7100