Add to cart button is not working - magento

Add to cart button is not working.
Is this due to any jQuery conflict.
I am not using any custom jQuery for add to cart button but had used many extension which had jQuery.
On clicking add to cart button, no action no effect is performed, even nothing is displayed in firebug console.
Can any one tell me how to debug this.

Have you attempted switching on the default template for Magento to see if it could be something in your custom theme? Have you attempted in another browser?
I have most commonly seen the "add to cart" button cease if there were a jQuery conflict or if the button class/name had been changed.
Not sure if you're on version control but if you have migrated the site, there is a possibility that some files may have been left out. If you right click > inspect, are you getting any 404 errors?
Again, we would have to see the code (and possibly a link to the site) in order to accurately diagnose.

Related

"Enable AJAX add to cart buttons on archives" is not working

I am using woocommerce latest version. I am developing a woocommerce supported theme from the scratch. Now I have a little problem. On archive page Ajax for "Add to cart" button is not working. Whenever I click "Add to cart" button the page get reloaded. I check the product setting and I got the "Enable AJAX add to cart buttons on archives " is checked. But the ajax is still not working. So where is the bug?
Note: I am a new bee in woocommerce type work.
The page being reloaded doesn't mean it's not added to the cart. You'll need to check /cart to verify if your product is added.
If you want to cart redirect after successful addition. I believe this is the setting right where the archive ajax cart setting is.

Magento Pages Showing Same Content

I am using Magento 1.9.2. I created 3 categories active in the main navigation menu. The display mode for each category is 'static block only' and the static block each one is set to use has a unique url key, name, and content. The categories are called 'how to use', 'colors,' and 'faq.'
The problem is that when I click on one of the links on the frontend for one of those categories, the content for that category/cms block displays fine, but if I click on another link the url changes correctly but the content stays the same. For example, if I click on the how to use link first, I get the right content, but then if I click on the faq link the url changes to the faq page but the page keeps displaying the content for the how to use page.
Flushing the cache and reindexing only works for one click on one of the links. In other words, if I have the problem described above and then flush the cache/reindex the site and click on the faq link, the content changes to the faq content, but if I then click on the colors link I have the same problem.
Has anyone ever encountered this before and/or can explain why this problem is happening?
Thank you for your help.
I resolved this issue by downloading Magento 1.9.2.1 and uploading app/code/core/Mage/Cms/Block/Block.php to app/code/local/Mage/Cms/Block/Block.php.

Django-cms page blank even after adding text plugins

Okay so I was able to do the ff:
Install django-cms on and show the "welcome page"
Go to admin page and choose a template.
Add a page
but when i try to add a text plugin to a page and preview it. The page is still blank and it does not even show an error.
WHAT COULD BE THE PROBLEM?
UPDATE: When i use the front-end editor "edit mode on" I am able to add plugins. That's weird
I had a similar problem. I eventually realised that it was caused by my failure to click on the 'publish' button.

Jomsocial content/article pages

I want to create About us, Privacy policy and terms of service page using the joomla's abck-end and i created articles for the same and crate new menu items in the jomsocial menu toolbar for the same. The menu items appears fine in the front end. Everything fine till now.
The problem is when i click on the menu item for article/content page, it moves out of com_community folder and moves to com_content page and it leaves the current design of site. My site navigation for jomsocial disappears. Content appears in default joomla's template not in jomsocial's template.
Any ideas ?? Thanks in advance.....
You need to go back double check everything.
You need to ensure you have the proper menus associated with the proper templates.
Check that joomsocail template is legitimately setup on all pages. And there is nothing over ruling or over riding it

I'm building a theme for tumblr and the {HasPages} doesn't seem to work properly

I've put the HTML draft of the theme so far, with minor CSS edits.
Currently I have all the block posts and everything else that's essential to a tumblr theme but I can't seem to get the {HasPages} block to work properly.
I've tested it on a different tumblr, also. There are pages created and I already have provided some basic CSS for it just in case. But there isn't anything showing up.
Has anyone has this problem and if so, is there a solution I'm missing? The code to display the pages is included.
{block:HasPages}
<ul>
<li>Home</li>
{block:Pages}<li>{Label}</li>{/block:Pages}
</ul>
{/block:HasPages}
Also, is this a valid web masters' question. I'm not sure.
I just had this issue: a link to a page I created didn't show up.
I solved this by checking off "Show a Link to this Page" in the Page options. To find this:
Go to tumblr.com.
In the top navigator click the gear. This is where the settings are.
On the side, click on the blog you want to customize.
A customize button should show up beside the name "Theme". Click on this button.
Now your blog will show up with a Customize panel. In the Customize panel there should be a Pages section. Click the Edit button beside the page and a window will pop up.
You can find the "Show a Link to this Page" option in this window.
Let me know if you need any clarification.
As far as I can see your code is right. Have you clicked the 'show a link to this page' checkbox, which is at the bottom of the page edit popup? I bet that's it... :)
I have also been having this problem. However, everything works correctly on my actual page, even though the theme editor does not appear to be aware of the block on my custom theme, nor does the theme preview seem to be aware of the pages tagged to show.
Have you tried saving your theme and checking the links on the live page?

Resources