When we click on "write a review", Actually the review tab opens but you stay on the same place, page does not move down to review form, it looks that nothing happens, until you go down the page. It doesn't go to the form automatically, we have to scroll down manually.
What I want is to make, is when you click on the "write review", need to get the review form instantly by jumping down to the review form.
I checked on default opencart demo, there's also same issue.
Please check this link
http://www.zazmar.co.uk/index.php?route ... duct_id=50
Please click on "Write a Review" (above social icons, below order button), nothing happens. It should go back to the review form.
Please help me anyone to fix this.
Thanks & Regards.
which OC version are you using?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
But in the same demo opencart also the same issue i think.
When u click "write a review", the review form opens but we have to scroll down to the form manually.
Check the opencart demo product link
http://demo.opencart.com/index.php?rout ... duct_id=42
When we click write review, it should jump back to review form...That's all I need!
This is the message I see when submitting as it remains on the same tab in the page:chintorwebs wrote:Am using 2.2
But in the same demo opencart also the same issue i think.
When u click "write a review", the review form opens but we have to scroll down to the form manually.
Check the opencart demo product link
http://demo.opencart.com/index.php?rout ... duct_id=42
When we click write review, it should jump back to review form...That's all I need!
Could you demonstrate a screenshot of what your browser does when posting since you claim not being able to remain on the same tab after posting the review?Thank you for your review. It has been submitted to the webmaster for approval.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The demo also work like that only, it opens the form but it doesn't jum down to review form automatically.
If the "write review" on very top of the page and review tab is bottom of the page u will see the issue on any opencart site like my site.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Did u checked my link, u know the issue.
http://www.zazmar.co.uk/index.php?route ... duct_id=50
Click "write review" below order button. It stays on same place instead of jumping down to review form.
In any product page if the write review is on very top and description, review tab is very bottom like my site then u will face same issue.
There's no problem in posting review... The issue is not jumping down to review form.
In catalog/view/theme/default/template/product/product.tpl file,
replace:
Code: Select all
$(document).ready(function() {
$('.thumbnails').magnificPopup({
type:'image',
delegate: 'a',
gallery: {
enabled:true
}
});
});
Code: Select all
$(document).ready(function() {
$('.thumbnails').magnificPopup({
type:'image',
delegate: 'a',
gallery: {
enabled:true
}
});
$('a[href^="#"]').bind('click.smoothscroll',function (e) {
e.preventDefault();
var target = this.hash,
$target = $(target);
$('html, body').stop().animate( {
'scrollTop': $target.offset().top
}, 100, 'swing', function () {
window.location.hash = target;
} );
});
});
Source: http://stackoverflow.com/questions/6677 ... to-element
I will move this topic into the concepts section of the forum. This addition should definitely be part of the core.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
replace:
Code: Select all
window.location.hash = target;
Code: Select all
//window.location.hash = target;
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Now i need to double click, then only it works.
Is there anyway to have this feature by single click.
No problem.Yes, u got my point. Thanks so much for your help. Yes, this is what i need.
Now i need to double click, then only it works.

So far, there are no definite solution that has been either posted or found, both working together, on the forum on this one, unfortunately.Is there anyway to have this feature by single click.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Because its must have feature.
Anyway, thanks for your help.
It wouldn't really be quite considered a bug but rather an implemented feature that should be used as part of the core since it does not prevent the same or other functionality to respond from the mouse click event which is why I moved this topic to the concepts section of the forum.chintorwebs wrote:Is this known bug to implement in opencart core?
Because its must have feature.
Anyway, thanks for your help.

Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 2 guests