Create title for 'Coupon code' field

  • Posts: 272
  • Thank you received: 7
11 years 2 months ago #149589

-- HikaShop version -- : 2.2.3
-- Joomla version -- :2.5.19


Hi,
Can you please tell me how I can give the coupon field on checkout a title, like with the 'payment method' section and the 'shipping method' section. If possible, the exact code I need to enter and where, on the relevant file in 'view'.

Thanks in advance

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #149597

Hello,
The solution will probably be to edit the code of the "Coupon" file of the "Checkout" view of your front-end template through "Hikashop->Display->Views".

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

  • Posts: 272
  • Thank you received: 7
11 years 2 months ago #149648

Thanks Mohammed,
Could you give me any help with that code?... I have very limited php knowledge. I just want a title which says 'Add your coupon'.

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

  • Posts: 272
  • Thank you received: 7
11 years 2 months ago #149663

Hi Mohammed,

Just to show you what I mean please see attachment. As there is no title or spacing for the coupon code, it seems to be part of the shipping field. Giving it a title would help customers who in the past say they have not seen this.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 months ago #149651

Sure, you'll just have to add something like this at the beginning of your file :

<fieldset>
<legend>Add your coupon</legend>
And this at the end of your file :
</fieldset>

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

  • Posts: 272
  • Thank you received: 7
11 years 2 months ago #149866

Mohammed - that's perfect. Thank you.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum