How can I sell vouchers digitally.

Phoca Cart - complex e-commerce extension
oklu
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 15 Jun 2025, 19:37

How can I sell vouchers digitally.

Post by oklu »

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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9795
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How can I sell vouchers digitally.

Post by Benno »

Hi,
see this YouTube video: https://www.youtube.com/watch?v=mmk8br2OhAs

Kind regards,
Benno
oklu
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 15 Jun 2025, 19:37

Re: How can I sell vouchers digitally.

Post by oklu »

Benno wrote: 01 Jul 2025, 19:47 Hi,
see this YouTube video: https://www.youtube.com/watch?v=mmk8br2OhAs

Kind regards,
Benno
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.
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
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 461
Joined: 07 Nov 2018, 14:55

Re: How can I sell vouchers digitally.

Post by Nidzo »

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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48866
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How can I sell vouchers digitally.

Post by Jan »

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
If you find Phoca extensions useful, please support the project
oklu
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 15 Jun 2025, 19:37

Re: How can I sell vouchers digitally.

Post by oklu »

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
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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9795
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How can I sell vouchers digitally.

Post by Benno »

Hi,
bei diesem Problem:
Image
könntest Du es mit:

Code: Select all

.ph-gift-voucher-head-top {
font-size: 1.0em !important;
}
in Deiner user.css versuchen. Temporär mit dem Inspektor funktioniert es damit:
Image

Freundliche Grüße,
Benno
oklu
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 15 Jun 2025, 19:37

Re: How can I sell vouchers digitally.

Post by oklu »

It works. Hat funktioniert. Thanx/Danke. ;-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48866
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How can I sell vouchers digitally.

Post by Jan »

Super, danke für Info.
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48866
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How can I sell vouchers digitally.

Post by Jan »

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.
If you find Phoca extensions useful, please support the project
Post Reply