Content of custom field not included in the png

  • Posts: 46
  • Thank you received: 2
  • Hikaserial Standard
5 months 3 weeks ago #274764

-- HikaShop version -- : 3.1.1
-- HikaSerial version -- : 2.0.0
-- Joomla version -- : 3.7.4
-- PHP version -- : 7

Hi,

I am using a custom field for a few products. There is a text area where user can fill in their own text for the electronic vouchers.

I have integrated a dynamic text " {order_product.gutscheindeinenachricht} " into the attach serial plugin.
Works nice, the text is written in the voucher (png). Fine.

But:

It does not work when I change the product to a product with variants. All the same, same category... the only difference is that I added a few variants of the product. And of course I added the serial packs to the variants. (When I go to the serial package: it shows that the product variant is added. I can see the product number in the list.)

All other fields (serial number, clear text, product price, QR....) are written in the the png voucher as they should.

Just the content of the custom field is missing.

I am not sure if it was working before the latest serial update or if I have just done something wrong

thanks

Last Edit: 5 months 3 weeks ago by woidl. Reason: PHP Verison 7 instead og 5.6.31

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

  • Posts: 21794
  • Thank you received: 3407
  • MODERATOR
5 months 3 weeks ago #274765

Hello,

Please provide full details about the custom field configuration and your attach serial configuration.

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: 46
  • Thank you received: 2
  • Hikaserial Standard
5 months 3 weeks ago #274819

Hi,

here are three attachments/screenshots:
1. attach serial plugin
2. customfield
3. serial pack settings

I tried with different products and different attach serial plugins. Same result.

When removing the variants of the product and just using one single product... then the dynamic customfield text {order_product.gutscheindeinenachricht} is written in the png voucher. But not when using product variants.

thanks

Attachments:
Last Edit: 5 months 3 weeks ago by woidl.

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

  • Posts: 21794
  • Thank you received: 3407
  • MODERATOR
5 months 3 weeks ago #274842

Hello,

If a product have variants, you can assign the pack with the main product and it will also include all the product's variants.
But if you just want to target specific variants, you need to perform the assignation to the variant level.

Afterwards, the "attach serial" plugin is working on the database level ; if the data is in the table order_product, the plugin will be able to display it.
Does the information stored in your database ? Can you see it in the backend when you display the order ?
I could be it's related to a bug in HikaShop 3 (we made some patchs in the past months).

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: 46
  • Thank you received: 2
  • Hikaserial Standard
5 months 3 weeks ago #274875

Hi,

I tried to target just one variant (because the variants have different voucher designs)
so every design comes from a different attach serial with a unique serial pack.

I did it again:
First with a normal product: everything is included in the png
Product variant: the custom text is missing

I compaired the two orders:
There is no custom text visible in the backend (like in the first order).
The content of the custom fields seem to be not stored.

see the screenshots please
maybe it helps

Attachments:

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

  • Posts: 21794
  • Thank you received: 3407
  • MODERATOR
5 months 3 weeks ago #274876

Hello,

I wrote in my previous message :

Does the information stored in your database ? Can you see it in the backend when you display the order ?
I could be it's related to a bug in HikaShop 3 (we made some patchs in the past months).

The problem you got is not related to HikaSerial by to HikaShop ; please open a new thread in the HikaShop section of the forum if you cannot solve it.

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.080 seconds
Powered by Kunena Forum