Roberto Posted December 16, 2008 Share Posted December 16, 2008 Hi,I need to make a standalone 'add to cart' button so I'm trying to figure out how the Ajax Cart system works.Looking at an existing 'add to cart button' from the featured items: Add to cart What would I have to do manually to produce my own button? Simply reusing the above causes an error. Also, Is the rel attribute used to trigger the add to cart animation?Hope someone can help.Thank youRoberto Link to comment Share on other sites More sharing options...
Roberto Posted December 17, 2008 Author Share Posted December 17, 2008 bump Link to comment Share on other sites More sharing options...
Dirty Bill Posted December 18, 2008 Share Posted December 18, 2008 Its surprising how few responses get posted to things like this. Its not that there aren't members with the answer, because there are an abundance of skilled users. Not sure what it is, but its very unlike some of their competitors forums. I think they'd be surprised how much the willingness to contribute would increase if they just participated a little more in the english speaking forums.My euro's worth.--DB Link to comment Share on other sites More sharing options...
Roberto Posted December 18, 2008 Author Share Posted December 18, 2008 DB,I was actually thinking along similar lines. I've visited so many forums in the past that are so responsive it feels like an online chat. The result is that you find yourself increasingly devoted to the community and in turn encourages you to help others.I'm guessing the senior members have currently got their heads buried in code to get the next stable release out. Either that or I smell. I still need to figure the above out. A helpful pointer in the right direction would really help if anybody has one?Thanks in advanceRoberto Link to comment Share on other sites More sharing options...
ruilong Posted December 19, 2008 Share Posted December 19, 2008 for me personally, it's a lack of time, I'm currently working on to many small modules and payment gateways to make presta more flexible to have time to write an article on how to create a buy button.. but I can point you to the right direction Ajax script for animation is in blockcart, check the blockcart module (ajax-cart.js, blockcart-json.tpl and blockcart.php) and also the product-listing.tpl, category.php file and you should be able to figure it out Link to comment Share on other sites More sharing options...
Dave Egerton Posted December 19, 2008 Share Posted December 19, 2008 Apprentice does indeed have a point.I also have found responses slow, but at the same time I do understand everyone is busy. However there are times when a question would be quick to answer, yet can still go unanswered for a couple or days or more. I am not sure why this is.Once I am up to speed I will certainly contribute where I can Link to comment Share on other sites More sharing options...
Dirty Bill Posted December 19, 2008 Share Posted December 19, 2008 I'd like to make another comment here, this time regarding the community members that receive help. Everyone seems to be afraid to add to a wiki because they don't want to be embarrassed by their contribution being inaccurate or poorly written; rarely it seems are we reluctant to post because of the time involved.IMHO, if you receive a solution that both works and doesn't appear to be a complete kludge, you need to give back by posting to the wiki. It is a better use of developer time to make (hopefully) minor corrections to the wiki than to cover all the many details from scratch themselves. They help, we write, they edit.--DB Link to comment Share on other sites More sharing options...
Roberto Posted December 19, 2008 Author Share Posted December 19, 2008 Thanks ruilong! I'll study those files over the weekend. I wasn't expecting an article, quick pointers help a great deal!Thanks for version 1.1!DB, sounds like a good arrangement. I'll add to the wiki if I'm successful. Link to comment Share on other sites More sharing options...
Dave Egerton Posted December 21, 2008 Share Posted December 21, 2008 Hey Dirty BillEveryone seems to be afraid to add to a wiki I did not know we could write into the Wiki - Is that possible? Link to comment Share on other sites More sharing options...
Dirty Bill Posted December 21, 2008 Share Posted December 21, 2008 It looks like I didn't look closely enough at the WIKI for Prestashop : it appears to be closed to the community. I've sent a request to the devs to consider opening it. Until then...ummm...--DB Link to comment Share on other sites More sharing options...
Roberto Posted December 22, 2008 Author Share Posted December 22, 2008 Thanks for doing that DB, I'll keep an eye on wiki access.Haven't had a chance to look at those files yet, if the wiki isn't open by the time I'll do I'll post to this thread.Roberto Link to comment Share on other sites More sharing options...
Recommended Posts