Code Monkey home page Code Monkey logo

magento1-upload-progress-bar's Introduction

OAG - Magento 1 Ajax Add to Cart with upload progress bar extension

Technical Details

  • Name: Oag_UploadProgressBar
  • Version: 1.0.0
  • Dependencies: Mage_Checkout
  • Tested On: Magento CE 1.9.4.2

Summary

This extension adds a progress bar in product details page when user clicks on "Add to cart" button. This is usefull when the product has some custom options file and the "add to cart" action could needs some time to finish.

This module is developed with the next logic:

  1. reading the normal Magento output button.btn-cart for correct add to cart URL's onclick
  2. prevents default onclick handlers for add to cart buttons
  3. executes ajax requests with URL's collected during the first step
  4. shows a progress bar meanwhile the add to cart requests is prcessing. When the request finish, the user will be redirect to the next page (product page or checkout cart).

Installation

With FTP

  1. Clear the store cache under var/cache and all cookies for your store domain. Disable compilation if enabled. This step eliminates almost all potential problems. It’s necessary since Magento uses cache heavily.
  2. Backup your store database and web directory.
  3. Download and unzip extension contents on your computer and navigate inside the extracted folder.
  4. Using your FTP client upload content of "app" & "skin" directories to "app" & "skin" directories inside your store root.

With modman

  1. Install modman script (https://github.com/colinmollenhour/modman)
  2. Execute command modman clone with the repository url

Uninstall

You can safely remove the extension files from your store.

Testing

Open the product details page with some custom option file configured and test "Add To Cart".

magento1-upload-progress-bar's People

Contributors

oriolauge avatar

Watchers

 avatar

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.