1

Add to cart button not working in my product page. But my test server is working fine, I copied and pasted the code as it is but, onclick event hasn't fire...

6
  • Check any error in console and log file @YKB Commented Jul 26, 2018 at 16:48
  • Are you using any custom theme? Commented Jul 27, 2018 at 1:05
  • My Theme is RWD... Commented Jul 27, 2018 at 2:13
  • Is it a ajax action? Commented Jul 29, 2018 at 6:07
  • @RintoGeorge, yes it was a ajax action. Commented Jul 30, 2018 at 5:47

1 Answer 1

0

Finally resolved here are the steps to do:

Go for var/www/html/app/design/frontend/your theme/template/checkout/cart.phtml

Check the functionality after tag Under checkout directory verify the sub directories called "view", "onepage" etc.

Look at the "controller.php" file in the "checkout" Path:

/var/www/html/app/code/local/Mworks/Ajax/controllers/IndexController.php check Line: 29, 30

 $filter = new Zend_Filter_LocalizedToNormalized( array('locale' => Mage::app()->getLocale()->getLocaleCode()) ); $params['qty'] = $filter->filter($params['qty']); 

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.