PayPal charge amount different to displayed price

  • Posts: 279
  • Thank you received: 1
13 years 7 months ago #14940

I have an artist who does pet portraits. He charges 50% deposit with the balance COD. Obviously, we need to display the full price for each portrait in the shop, but only want to pass through an amount to PayPal that is 50% of that (ie. 8 x 10 portrait is $100, but we want to bill a customer, upfront, $50 via PP).

Is this possible?

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
13 years 7 months ago #14946

There is no option for that.
What you could do is set the price of $50 in your products.
Then, edit the files listing_price of the views product and checkout and change the line:
echo $this->currencyHelper->format($price->price_value_with_tax,$price->price_currency_id);
to:
echo $this->currencyHelper->format($price->price_value_with_tax*2,$price->price_currency_id);

That should display the prices with twice the price on your listing/product page and cart on the front end.
You might also want to edit the emails of the user (via the menu System->Emails) in the same manner to display the price*2 instead of the price of the product and also edit the files form and listing of the order view so that the prices are correct on the order details/invoice and listing of orders.

Last edit: 13 years 6 months ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 279
  • Thank you received: 1
13 years 7 months ago #14947

Cool - nice workaround. Will try that. Been trying to do the whole thing in a form, but not knowing PHP or JS is really limiting my ability to do the math calcs.

Cheers.

Please Log in or Create an account to join the conversation.

  • Posts: 279
  • Thank you received: 1
13 years 6 months ago #15345

Hi Nicolas

The first part worked perfectly. However, I cannot find where to alter the emails. I do not have Emails under Display in the configuration. Can you be specific please. Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
13 years 6 months ago #15349

The emails are under System.

Hikashop > configuration > System > Emails.

Please Log in or Create an account to join the conversation.

  • Posts: 279
  • Thank you received: 1
13 years 6 months ago #15351

Sorry but I have nothing what you seem to have me see under that. A SS of what I see under that option is attached - there is nowhere for me to edit any file or parameter there.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
13 years 6 months ago #15355

The menu System->Emails is only available in the Business edition.

Please Log in or Create an account to join the conversation.

  • Posts: 279
  • Thank you received: 1
13 years 6 months ago #15357

Can I accomplish the same using an editor on one of the files via FTP?

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
13 years 6 months ago #15359

The files are located in media/com_hikashop/mail

Please Log in or Create an account to join the conversation.

  • Posts: 279
  • Thank you received: 1
13 years 6 months ago #15411

I really don't have the skills to figure out where to edit whichever files need editing. And, for the site I'm doing, I cannot pay for the business version. So I'll find another product. Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum