Split products in cart when product is sale product + on stock

Cancelled Posted 6 years ago Paid on delivery
Cancelled Paid on delivery

Hi,

We have 'sale products' in our Magento store.

WHEN a product is on stock (quantity is > 0) and attribute 'sale product' is Yes THAN we have a script that automatically puts this product in a sale category and adds a 'sale price' of 20% less than the normale price .

Now here is the problem:

When a customer puts a product in their shopping cart 20 times with only 2 on stock, they can buy 20 at the sale price. We give far to much discount.

We need a fix for this, for example:

WHEN a customer buys 20 items of a product that has 2 on stock THAN in the shopping cart should look like:

2 x product to sale price

18 x product to normal price

Can someone fix this for us?

Extra information:

- The stock is not managed by the 'standard' stock function in magento but by an attribute called 'werkelijke_voorraad' (real stock), we enter the amounts ourselves.

- The sale items are managed by the yes/no attribute 'saleproduct'

- The auto sale function is triggered every night by '[url removed, login to view]'

- In the cart a message is shown like: 'we only have 2 products of this item in stock, the other 18 have a delivery time of 3 weeks'

Please respond! thanks.

eCommerce HTML JavaScript Magento PHP

Project ID: #15435617

About the project

2 proposals Remote project Active 6 years ago

2 freelancers are bidding on average $30 for this job

gursukh

Hey, I'm interested in your project. I'm individual​ freelancer with 5year experience. I'm always available here .so Please send me a message so that we can discuss more.

$30 USD in 1 day
(46 Reviews)
5.2
fadilullahi296

A proposal has not yet been provided

$29 USD in 1 day
(0 Reviews)
0.0