0

I have just adopted Magento and have to say I am very impressed. However as I am a noob I am having a couple of issues, so I would appreciate some advice/help

I am trying to implement a module called ajax pagination and layered navigation onto our site however the ajax update seems to be failing somewhere.

http://thealpacacentre.co.uk/catalogsearch/result/?q=alpaca

We're having to force a browser refresh on the page after applying the layered navigation filters on the left for the page to be correctly rendered.

Can anyone help please?

  • check your request and response of that ajax call. When I check I got this error "NetworkError: 404 Not Found - thealpacacentre.co.uk/skin/frontend/base/default/images/…" – Keyul Shah Dec 16 '13 at 11:53
  • Hi Keyul, thankyou for your reply. I have found and replaced the image but it still doesn't seem to be processing. – user1206585 Dec 16 '13 at 12:11
  • Please provide the full name or a link of the extension you use. – Sander Mangel Dec 16 '13 at 14:34
  • Looks like this is working as intended now. Can you post your solution? – nachito Dec 16 '13 at 22:15
1

So we managed to fix the Ajax extension by altering the css in our custom theme.

The extension we were using (ajax layered navigation pagination pro ) was deleting the div class causing the page to format incorrectly.

We added a new div class in the left.phtml file in our custom theme.

So after

<?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
<?php if($_count): ?>

insert another div class. I used

<div class="block block-layered-nav">

then before

<?php endif; ?>

insert a closing div

<div>

Also make sure that you alter the file /skin/frontend/base/default/js/vpager.js to the correct div classes if using a custom theme. Ours didn't so we had to alter and swap some code to our div classes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.