Giter VIP home page Giter VIP logo

vf_ajaxcart's People

Contributors

hws47a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vf_ajaxcart's Issues

Adding products with options via list does not work

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.

Prototype error on category page

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 issue

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.

Fix for: Remove all from Cart doesn't work

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(); }

Product thumbnail not being generated until page refresh

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.

screen shot 2013-06-26 at 4 06 12 pm

After a page refresh, the thumbnail is generated fine.

screen shot 2013-06-26 at 4 06 34 pm

Other Top Links disappering when refreshing Checkout Link

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.

Minimum Amount for Checkout

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?

Cart doesn't get updated on Adding to Cart

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.