Huge QR

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 4 months ago #326535

-- url of the page with the problem -- : mugge-p.dk/
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.4
-- Browser(s) name and version -- : FireFox

Hi

Is there a way to make the QR code generated for scanning smaller?
With all the data, is has to contain, it's huge ...

This is the QR on a papersize A4.

Kind regards
Thomas

Attachments:

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
3 years 4 months ago #326608

Hello

More data you have to encode, bigger the QR code will be.
You have to shorten the content.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 4 months ago #326625

Hi

I know, but how can this be shorter?

mugge-p.dk/index.php?option=com_hikaseri...k=consume&hikaserial [serial_data]={serial.serial_data}&hikaserial[format]=html&confirmation=1&tmpl=component

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
3 years 3 months ago #326658

Hello,

It is possible to use the SEF version of the URL.
You can also create an hidden menu to make an URL even smaller. HikaSerial propose a "serial consume" page.
Afterwards, there is still the possibility to create a "rewrite" in your htaccess file in order to make a very small URL like "mugge-p.dk/e-ticket/..." and that rewriting will include all the parameters you want to force.

Regards,

PS : Please remove the "format" parameter if you want to use the "confirmation" parameter. Forcing the format (xml, json or html) bypass the possibility to use a confirmation form. Only when there is no format specified that the system perform more processing and can display that confirmation page.


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 3 months ago #326661

Great suggestions, I'll give them a try.

Thank you so much!

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

  • Posts: 357
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 3 months ago #326664

I went for the htacces rewrite and it works great!

Instead of:
mugge-p.dk/eticket/?hikaserial [serial_data]={serial.serial_data}&hikaserial[format]=html

I know have:
mugge-p.dk/e/{serial.serial_data }

Again, thanks a lot!

The following user(s) said Thank You: Jerome

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
3 years 3 months ago #326679

Hello,

I'm glad that you have a nice e-ticket system :)

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.076 seconds
Powered by Kunena Forum