3.0.3.8 default theme
PHP: 7.3.13
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Question: what should the customer get back?
What do you mean with:
nothing is happening from his side
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Code: Select all
<script type="text/javascript"><!--
$('#review').delegate('.pagination a', 'click', function(e) {
e.preventDefault();
$('#review').fadeOut('slow');
$('#review').load(this.href);
$('#review').fadeIn('slow');
});
$('#review').load('index.php?route=product/product/review&product_id={{ product_id }}');
$('#button-review').on('click', function() {
$.ajax({
url: 'index.php?route=product/product/write&product_id={{ product_id }}',
type: 'post',
dataType: 'json',
data: $("#form-review").serialize(),
beforeSend: function() {
$('#button-review').button('loading');
},
complete: function() {
$('#button-review').button('reset');
},
success: function(json) {
$('.alert-dismissible').remove();
if (json['error']) {
$('#review').after('<div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> ' + json['error'] + '</div>');
}
if (json['success']) {
$('#review').after('<div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> ' + json['success'] + '</div>');
$('input[name=\'name\']').val('');
$('textarea[name=\'text\']').val('');
$('input[name=\'rating\']:checked').prop('checked', false);
}
}
});
});
$(document).ready(function() {
$('.thumbnails').magnificPopup({
type:'image',
delegate: 'a',
gallery: {
enabled: true
}
});
});
//--></script>
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Why not post a link to your site so we can try it?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Code: Select all
Fatal error: Uncaught Error: Call to undefined method ControllerExtensionModuleApimodule::getApiAccessKey() in /home/toniasha/domains/tonias-handmade.com/public_html/catalog/controller/extension/module/apimodule.php:3786 Stack trace: #0 /home/toniasha/domains/tonias-handmade.com/public_html/catalog/controller/extension/module/apimodule.php(3607): ControllerExtensionModuleApimodule->getPushLimit(1302) #1 /home/toniasha/domains/tonias-handmade.com/public_html/catalog/controller/extension/module/apimodule.php(93): ControllerExtensionModuleApimodule->sendNotifications(Array) #2 /home/toniasha/domains/tonias-handmade.com/storage/modification/system/engine/action.php(79): ControllerExtensionModuleApimodule->afterAddReview('catalog/review/...', Array, NULL) #3 /home/toniasha/domains/tonias-handmade.com/public_html/system/engine/event.php(62): Action->execute(Object(Registry), Array) #4 /home/toniasha/domains/tonias-handmade.com/storage/modification/system/engine/loader.php(255): Event->trigger('model/catalog/r...', Array) #5 /ho in /home/toniasha/domains/tonias-handmade.com/public_html/catalog/controller/extension/module/apimodule.php on line 3786
So an extension is causing this.
use your web developer tools.
web developer tools -> network tab -> submit a review -> locate the ajax call -> select it and on the right select preview or response.
Basically a response which the ajax call is not expecting, hence nothing on the client side is executed after the call comes back.
The apimodule is likely from a 3rd party extension, probably for a REST API.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
If followed the guidelines, both "parties" will come to a very quick end without wasting time ..
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
So yes, you can mark as solved. You will need to ask the extension developer to fix the extension, nothing any one here can help with.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
Users browsing this forum: No registered users and 37 guests