How can I sell vouchers digitally.
-
- Phoca Newbie
- Posts: 4
- Joined: 15 Jun 2025, 19:37
How can I sell vouchers digitally.
Hello, I need some help. How can I sell vouchers digitally in Phocart? I should be able to select the amount and after paying, receive a link and print out the voucher. The voucher should contain the amount and a unique number. Unfortunately, I can't find any instructions. Does anyone have instructions? Thank you.
- Benno
- Phoca Hero
- Posts: 9795
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
-
- Phoca Newbie
- Posts: 4
- Joined: 15 Jun 2025, 19:37
Re: How can I sell vouchers digitally.
Hallo Benno, vielen Dank für den Link. Nach einigen Tagen des Probierens, arbeitet es leider nicht wie gewünscht. Der Gutschein sieht nicht so aus, wie im Video. Ich finde auch keine weiteren Einstellungsmöglichkeiten (Template?). Insbesondere der zugesandte Gutschein per Mail ist das Problem. Der Betrag ist ohne Währung und sehr klein. Der Hinweistext fehlt und der linke Schriftzug im Kreis ist zu groß. Habe ich einen Fehler gemacht? Kannst Du eventuell nochmal helfen. Vielen Dank im voraus.Benno wrote: ↑01 Jul 2025, 19:47 Hi,
see this YouTube video: https://www.youtube.com/watch?v=mmk8br2OhAs
Kind regards,
Benno
Beste Grüße
Thorsten
https://imgur.com/jBZTNkH
Hi Benno, thank you for the link. After a few days of trying, it's unfortunately not working as expected. The voucher doesn't look like the one in the video. I can't find any other settings (template?). The voucher sent via email is particularly problematic. The amount is non-currency and very small. The information text is missing, and the left lettering in the circle is too large. Did I make a mistake? Can you help again? Thanks in advance.
Best regards,
Thorsten
https://imgur.com/jBZTNkH
- Nidzo
- Phoca Professional
- Posts: 461
- Joined: 07 Nov 2018, 14:55
Re: How can I sell vouchers digitally.
Customize look of voucher with CSS
German translation for Gift Card is too long for current font size. You need to make it smaller.
Please leave link to your shop so we can inspect it.
German translation for Gift Card is too long for current font size. You need to make it smaller.
Please leave link to your shop so we can inspect it.
- Jan
- Phoca Hero
- Posts: 48866
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How can I sell vouchers digitally.
Hi, the default gift voucher design is done for English strings, so if there are another strings - longer - like in German, the style needs to be changed. There is layout for the gift vouchers which can be overriden by template:
components/com_phocacart/layouts/gift_voucher.php
As this gift voucher is set in PDF or in Email, it does not have external CSS styling, only internal per inline styles and this all can be changed in this layout.
I am testing all different settings but get normally the price including the info about currency
Jan
components/com_phocacart/layouts/gift_voucher.php
As this gift voucher is set in PDF or in Email, it does not have external CSS styling, only internal per inline styles and this all can be changed in this layout.
I am testing all different settings but get normally the price including the info about currency

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 15 Jun 2025, 19:37
Re: How can I sell vouchers digitally.
Hello, first of all, thanks for the great work on Phoca Cart. I'll give it a try. Actually, I only use the original installation (with demo). If it helps, here's my link: https://schnarsleben.com. Pin: demo. Best regards, Thorsten.Jan wrote: ↑09 Jul 2025, 21:43 Hi, the default gift voucher design is done for English strings, so if there are another strings - longer - like in German, the style needs to be changed. There is layout for the gift vouchers which can be overriden by template:
components/com_phocacart/layouts/gift_voucher.php
As this gift voucher is set in PDF or in Email, it does not have external CSS styling, only internal per inline styles and this all can be changed in this layout.
I am testing all different settings but get normally the price including the info about currency :idea:
Jan
- Benno
- Phoca Hero
- Posts: 9795
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: How can I sell vouchers digitally.
Hi,
bei diesem Problem:

könntest Du es mit:
in Deiner user.css versuchen. Temporär mit dem Inspektor funktioniert es damit:

Freundliche Grüße,
Benno
bei diesem Problem:

könntest Du es mit:
Code: Select all
.ph-gift-voucher-head-top {
font-size: 1.0em !important;
}

Freundliche Grüße,
Benno
-
- Phoca Newbie
- Posts: 4
- Joined: 15 Jun 2025, 19:37
Re: How can I sell vouchers digitally.
It works. Hat funktioniert. Thanx/Danke. ;-)
- Jan
- Phoca Hero
- Posts: 48866
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How can I sell vouchers digitally.
Super, danke für Info.
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48866
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How can I sell vouchers digitally.
BTW there is new Phoca Cart version and Phoca PDF version, try to test it, because due to changes in TCPDF some methods were changed in Phoca Cart. It should even fix the displaying of the price without currency.
All three packages need to be updated:
Phoca Cart:
https://www.phoca.cz/download/99-phoca- ... -component
Phoca PDF:
https://www.phoca.cz/download/79-phocap ... -component
Phoca PDF Phoca Cart plugin:
https://www.phoca.cz/download/79-phocap ... art-plugin
Please test and let me know. Thank you.
All three packages need to be updated:
Phoca Cart:
https://www.phoca.cz/download/99-phoca- ... -component
Phoca PDF:
https://www.phoca.cz/download/79-phocap ... -component
Phoca PDF Phoca Cart plugin:
https://www.phoca.cz/download/79-phocap ... art-plugin
Please test and let me know. Thank you.
If you find Phoca extensions useful, please support the project