Jump to content

Bulk Purchase Package


bera_ramazan

Recommended Posts

Hello, I want to sell the products both in bulk and individually.

resim.thumb.png.be35325bcc28515bf932591d01709fc8.png

For example, let's say the unit price of a product is 100 €, but if you want to buy 6 pieces, it will be 580 €, if you want to buy 12 pieces, let it be 1100 €. I did this from combinations, but when I add the 6-pack to the basket, there are 6 products and it can make 5 or 7 in the basket.

I want it to increase only to 6,12,18.. when adding 6 packs to the cart, or 12,24,36 when adding 12 packs. How can I make this custom for each product

Link to comment
Share on other sites

change ftp/themes/temanız/templates/catalog/_partials in product-discounts.tpl

after

add js code

function addCartItems(e, f)
{
	$('#quantity_wanted').val(e);
	$('.current-price-value').html(f);
	$('.seciliTd').removeClass('seciliTd');
	$('#tp'+e+'').addClass('seciliTd');
}

css code
 

.adetTd {padding:0px}
.adetLabel {display:block;text-align:center;padding: 0px;}
.adetLabel input {opacity:0}
.seciliTd * {background:orange !important;color:#fff !important;}

 

resim.png.1ae85b730a1d28f164cb188c83a1ba6e.png

product-discounts.tpl

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...