How to Show Sale Price and %3 Discount Price

Hello



I try editing price.tpl

Because i want to show 2 different prices.



One for Credit Cart Price

and the other is cash price.



On database table there was CC prices. So i have to show %3 discount (CC Price x 0.97)



This is the code


{$value|format_price:$currencies.$secondary_currency:$span_id:$class:true}



my ideal output is



Credit Cart Price: 100

Cash Price: 97




Could any body help me how to multiple price with 0.97

I have already set Payment Methods and other thinks.

Do not efford your brain to other things :smiley:

Just free your mind and help me

I have almost the same interest.



The difference is that I want to do something like:



PRICE: 100.00

or 5 x 20.00



-----



Another thing that I want do create is a TAB in Product’s page where we can show all payment methods and costs…



Price:

Cash: 95.00 (5%)

Credit card:

1 x 100.00

2 x 50.00

3 x 33.33

4 x 25.00

5 x 20.00

6 x 16,67





Credit cards accept: VISA, MASTERCARD, AMEX…



Or you can pay by…





To create tabs are not very very hard work, but to insert what you want inside it… not very easy.







Let’s see.

Note that charging a separate price for CC transactions and one for cash is a violation of most credit card merchant agreements (in the US at least). Would be a shame to have a customer complain and have your CC processing shut down.

[quote name=‘tbirnseth’]Note that charging a separate price for CC transactions and one for cash is a violation of most credit card merchant agreements (in the US at least). Would be a shame to have a customer complain and have your CC processing shut down.[/QUOTE]



Hello tbimseth,





First of all: thanks for your reply, but I think this is NOT a violation.



let me TRY to explain why:



LIST PRICE: $ 130,00

PRICE: $ 100,00

or 5 x 20,00 in credit cards*





PAYMENT METHODS TAB

Price: $ 100,00

pay in Bolet (I don’t know how it is called there): 95,00 (price - 5%)

eletronic transfer (bank’s transfer): 95,00 (price - 5%)

credit card:

1 x 100,00

2 x 50,00

3 x 33,33

4 x 25,00

5 x 20,00



Others methods:

xx xxx xxxx





I haven’t said about CASH.

In cash the costumer will pay $100,00 in our physical store.



Cash = credit card payment. No problem.



And I don’t know about USA, but here in Brazil we do not receive the payment in 2 days. We will receive it after 30 days of the payment and the charges are from 4% to 5% in the amount of the payment.

So, you lose % and lose TIME to receive your money.





:slight_smile:

[quote name=‘dragondf’]Hello tbimseth,





First of all: thanks for your reply, but I think this is NOT a violation.



let me TRY to explain why:



LIST PRICE: $ 130,00

PRICE: $ 100,00

or 5 x 20,00 in credit cards*





PAYMENT METHODS TAB

Price: $ 100,00

pay in Bolet (I don’t know how it is called there): 95,00 (price - 5%)

eletronic transfer (bank’s transfer): 95,00 (price - 5%)

credit card:

1 x 100,00

2 x 50,00

3 x 33,33

4 x 25,00

5 x 20,00



Others methods:

xx xxx xxxx





I haven’t said about CASH.

In cash the costumer will pay $100,00 in our physical store.



Cash = credit card payment. No problem.



And I don’t know about USA, but here in Brazil we do not receive the payment in 2 days. We will receive it after 30 days of the payment and the charges are from 4% to 5% in the amount of the payment.

So, you lose % and lose TIME to receive your money.





:)[/QUOTE]



There is two way

1- First way you need:

  • some edits in /controller/checkout and /controller/products
  • create a new tpl for payment list
  • open that new tpl in products bloks…



    İf you need change your discount, you must use first way…



    2-
  • Open your product detail skin in /skins/xxxxxx/customer/blocks/product_templates/



    Find {if $show_discount_label && $smarty.capture.$discount_label|trim}

    {$smarty.capture.$discount_label}

    {/if}




Add after:

```php



{$lang.pay in Bolet } :



12 x {$product.price*0.95|fn_format_price } ( %5 {$lang.discount})



{$lang.bank_transfer} :

12 x {$product.price*0.95|fn_format_price } ( %5 {$lang.discount})

```

- Add languages values:
pay in Bolet =
Bank_transfer=
- Create that payment type and set discounts..

Hello cs-carttr,



Thank you for all your info.



I will try to get a time to make all these adjustments.



One doubt: do you know if this will work in the new version?





Thank you!