hws47a / vf_ajaxcart Goto Github PK
View Code? Open in Web Editor NEW[Magento Extension] Ajax Cart without any php code based on VF_EasyAjax module.
[Magento Extension] Ajax Cart without any php code based on VF_EasyAjax module.
Thank you!
If you attempt to add a product such as "Magento Red Furniture Set" via the list view, it will return a message stating "Please specify the quantity of product(s).". You are not given the option to select the quantity of options.
when i click to add to cart i get this erro
Uncaught TypeError: Cannot read property 'match' of null
at klass.isSameOrigin (prototype.js:1837)
at klass.respondToReadyState (prototype.js:1819)
at klass.onStateChange (prototype.js:1754)
can any help me?
Top link not updated correctly. Login link is missing and the order of the links also rearranged after the update. In cart page cart count is wrong after updating the quantity of the products or deleting a product from cart.
I noticed that the remove all from cart didn't work as the formkey was missing.
So I added the formkey to the paramaters.
Not sure if this is the best approach but it does the trick.
Around line 118 ajax_cart.js
var formData = ''; var formKey = ''; if (el.value == 'empty_cart') { var formKey = $$('[name="form_key"]')[0].value; formData = 'update_cart_action=empty_cart&form_key='+formKey; } else { formData = form.serialize(); }
Can you think of any reason why the cart_sidebar is returning a thumbnail placeholder for the action_content. Once the page has been refreshed, the correct thumbnail is displayed. See image below.
Ajax request pulls in everything properly, except for the image thumbnail. The "Image Goes Here" is my product placeholder image set up in configuration.
After a page refresh, the thumbnail is generated fine.
Hello everyone,
I've an issue where after adding product to a cart the TopLinks section is updated, totals are refreshed but other TopLinks (Logout, MyAccount) are disappering.
It occurs that it's going through loop in /template/page/template/links.phtml but with only one element โ in collection of $_links โ the checkout link.
Do you have any idea what could cause that or any workaround to fix it?
Forward thanks for any idea,
versedi
--EDIT
I've changed
topLinksSelector: '.top-links-cart.last',
now instead of disappearing - the links are staying but the totals are stacked on screen instead of being updated and refreshed
--EDIT
Issue solved by editing links.phtml with link counting set to
<?php if(count($_links)>1): ?>
and second if with:
<?php if(count($_links)<=1): ?>
without the links loop inside.
Good Morning,
After changing quantity on cart page the CHECKOUT BUTTON printed from:
<?php if(!$this->hasError()): ?>
<?php foreach ($this->getMethods('methods') as $method): ?>
<?php if ($methodHtml=$this->getMethodHtml($method)): ?>
<?php echo $methodHtml; ?>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>
Isn't updated so it's not clickable. Only after page refresh you can go to checkout by that button.
Any ideas how to solve?
I have been testing this plugin to be used in production. When I click on "add to add" the product gets added to the cart but I cannot see that in the frontend until I refresh the page once.
Can you please check this and let me know what is the problem.
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.