Language File - payment price

  • Posts: 301
  • Thank you received: 1
8 years 7 months ago #237634

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3

I notice that the Payment Price (or I call it the Credit Card fee) is showing on the page where you select the payment method during checkout.

I couldn't find a language file name for it. Is it possible to add one in as on its own it means nothing - just show a price.

It would be best if you could apply a label to it ie. Credit Card Fee: hikashop_checkout_payment_price

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 7 months ago #237643

Hi,

I've checked on our end and there is already a span around it with the class name hikashop_checkout_payment_price
Could you provide a screenshot of what you're talking about because I feel we might not be talking about the same thing ?

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

  • Posts: 301
  • Thank you received: 1
8 years 7 months ago #237806

Screenshot attached.

See the dollar amount under the payment method - Stripe. In this case $7.15.

This isn't explained clearly to the customer. We should be able to either

1. Add a label to it using the language file eg. Credit card surcharge $7.15 or Credit Card Fee - $7.15

OR

2. Would be nice to be able to place the Payment Price (card fee) into the text editor so we can include it in any text that we add (like there is in the screenshot). Maybe being able to include the variable for Payment Price - eg. For payments by credit card (Mastercard and Visa only). Credit card fee of {Payment Price} applies to this payment method.


The other thing I just found which might be a bug is under the Generic Configuration where you can add payment images. A visa and a mastercard image was attached when the payment method was first created, and when you delete them and save, they are not deleted. When you reopen the payment method to edit they are still showing.

Attachments:

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 7 months ago #237877

Hi,

1.
You can edit the file "payment" via the menu Display>Views and add your text after the line:
<span class="hikashop_checkout_payment_cost">
in order to have some text before the cost of the payment method.

2.
Yes, you need at least one image for each payment method.

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

  • Posts: 301
  • Thank you received: 1
8 years 7 months ago #238232

Thanks

With the payment image, when you create a payment type to show during checkout and don't choose an image then it works as I want - I can add my own image in the editor with my specific text.

But if you do choose an image, you are struck with that and can't remove it.

Why does there need to be an image for payment?



Fixed up the payment view and showing credit card fee where I want now. Thanks. With the php box/window that comes up where you can alter the code, it can't be enlarged which means you can only see a small section of code at a time. You should be able to expand the code window by dragging a corner - is this something I can do this end?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 7 months ago #238238

Hi,

1. It's a bug of the current version. Next version of HikaShop will allow for the deletion of the image of the payment methods.

2. The codemirror editor doesn't allow for that. But if you disable its plugin in the Joomla plugins manager, it will use a standard textarea and in that case, you'll be able to drag the corner to make it bigger.

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

  • Posts: 301
  • Thank you received: 1
8 years 7 months ago #238291

1. Good stuff - can wait

2. Disabled codemirror but prefer the way codemirror colours different parts of the code. Didn't know you can use F10 to increase to full-size. but also checked out codemirror website and it tells you how to make the editor window adjust to size of screen you are on.

Each time you update Hikashop is codemirror part of that as don't want to make css changes if they will disappear next time I update Hika. Wondering how old the codemirror plugin is compared to what you can download from their website - should I download and install the latest version.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 7 months ago #238322

Hi,

No, codemirror is part of Joomla not HikaShop. I would recommend to not touch it. You'll get newer versions when Joomla supports them automatically when you update your Joomla.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum