Thank´s for your reply, It´s working well.
How can I change the number of products displayed in the carousel, It´s set to 5 products now but I would like it to be only 3?
Hi there, is it possible for me to make the carousel vertical and displayed to the left of main image?
I am using the defaultClean theme with some modifications.
That´s great, this works fine now.
Thank you very much for your assistance :-)
Thanks for the reply but my Javascript coding skills are really very limited so I don´t know how to do that, I will check with my site developer if he has the time to fix this for me. :-)
Hi there, I am trying to add increment and decrement buttons to the quantity box on the product page on my dev website, It´s based on the Alfresco theme but I am not using the Ajax cart plugin (due to another reason)
I am trying to implement the solution discussed here https://www.nop-templates.com/boards/topic/3052/increment-decrement-button but it´s not working for me, I am pasting my code from _AddToCart.cshtml here below, any suggestion to make this work?
<button type="button" class="minus decrease left">
<span>-</span>
</button>
@Html.TextBoxFor(model => model.EnteredQuantity, new {@class = "qty-input left"})
<button type="button" class="plus increase left">
<span>+</span>
</button>
<script>
$(document).ready(function() {
function incrementQuantityValue(event) {
event.preventDefault();
event.stopPropagation();
var input = $(this).siblings('.qty-input');
var value = parseInt(input.val());
if (isNaN(value)) {
input.val(1);
return;
}
value++;
input.val(value);
input.trigger('input');
}
function decrementQuantityValue(event) {
event.preventDefault();
event.stopPropagation();
var input = $(this).siblings('.qty-input');
var value = parseInt(input.val());
if (isNaN(value)) {
input.val(1);
return;
}
if (value <= 1) {
return;
}
value--;
input.val(value);
input.trigger('input');
}
function handlePurchaseQuantityValue() {
$(document).on('click', '.add-to-cart .increase, .cart .increase', incrementQuantityValue);
$(document).on('click', '.add-to-cart .decrease, .cart .decrease', decrementQuantityValue);
}
});
</script>
I am trying to do the same on the product page to my modded Alfresco theme but it´s not working, here´s the code I have added to the _AddToCart.cshtml, what am I doing wrong?
<button type="button" class="minus decrease left">
<span>-</span>
</button>
@Html.TextBoxFor(model => model.EnteredQuantity, new {@class = "qty-input left"})
<button type="button" class="plus increase left">
<span>+</span>
</button>
<script>
$(document).ready(function() {
function incrementQuantityValue(event) {
event.preventDefault();
event.stopPropagation();
var input = $(this).siblings('.qty-input');
var value = parseInt(input.val());
if (isNaN(value)) {
input.val(1);
return;
}
value++;
input.val(value);
input.trigger('input');
}
function decrementQuantityValue(event) {
event.preventDefault();
event.stopPropagation();
var input = $(this).siblings('.qty-input');
var value = parseInt(input.val());
if (isNaN(value)) {
input.val(1);
return;
}
if (value <= 1) {
return;
}
value--;
input.val(value);
input.trigger('input');
}
function handlePurchaseQuantityValue() {
$(document).on('click', '.add-to-cart .increase, .cart .increase', incrementQuantityValue);
$(document).on('click', '.add-to-cart .decrease, .cart .decrease', decrementQuantityValue);
}
});
</script>
So I need to uninstall all my Seven Spikes plugins and my theme, following these directions - https://www.nop-templates.com/how-to-update-a-nopcommerce-theme and then install again my theme using the Nop core provided with the trial version of the Product Collection Trial
Sorry for all the posts but I can´t edit my old posts and if I try to delete them I get caught in an endless loop where I am asked to sign in again.
I am using version: NopSmartProductCollections_Trial_3.7.83.22311
I am using Nopcommerce 3.7
I am using a modified version of Alfresco theme and I also have some plugins from the ultimate plugin collection.