Cut Price Product

Hi,

How can i check if a product has or not cut price in cs-cart ?

Hi,

How can i check if a product has or not cut price in cs-cart ?

What do you mean by cut price?

What do you mean by cut price?

In shoppping cart i have products with full price and products with cut price(with discount) and want to know in shopping cart how can i make a difference for this 2 products(full price and cut price products).

Thanks

In shoppping cart i have products with full price and products with cut price(with discount) and want to know in shopping cart how can i make a difference for this 2 products(full price and cut price products).

Thanks

Your request is still not clear.

Do you mean code checking or something else.

Please be more specific.

In case you mean code changes than post such request in http://forum.cs-cart.com/forum/42-developers-corner/or http://forum.cs-cart.com/forum/37-hints-modifications/

Your request is still not clear.

Do you mean code checking or something else.

Please be more specific.

In case you mean code changes than post such request in http://forum.cs-cart.com/forum/42-developers-corner/or http://forum.cs-cart.com/forum/37-hints-modifications/

On the checkout page,where i have lets say 2 products, 1 product has 20ron price from 25ron(this is product with discount) and the other has 30ron price(this is product without discount->full price). i want to know if in this step on the checkout page if it is possible to check if a product has discount or not.

Try

php

if ($product['discount'] || $product['list_discount']) {
  // product has discount
}

template

{if $product.discount || $product.list_discount}
  {* product has discount *}
{/if}

Try

php

if ($product['discount'] || $product['list_discount']) {
  // product has discount
}

template

{if $product.discount || $product.list_discount}
  {* product has discount *}
{/if}

Ok so, i want to create a condition that when applying a promotion code, that promotion code should apply only on products that have full price, and not on hole cart, like lets say on products that are reduce from the original price.

And want to make this in the php file if product price is not reduced price -apply promotion discount else product price (means it is already reduced and the price remains the same)

Or better i ask where should i put this code ? In witch function in witch file should i put the above code?