Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3232263
Posts in the postmeta query
Closed

Comments

  • jhonny started the conversation

    Hi,

     

    I am testing the plugin WPC Product Bundles for Woocommerce.
    It seems te be the right  plugin for our needs.
    We use a custom program in Windows to manage the website/shop products with Mysql.
    We found all enteries that the plugin generates in the postmeta query.
    Before we can buy the plugin, i have one question.

    In the woosb_ids meta_key you specify the product_id, qty and sku with this format :

    a:3:{

          s:13:"63eb81746b0b8";

             a:3:{s:2:"id";s:5:"19199";

                  s:3:"sku";s:7:"5125120";

                  s:3:"qty";s:1:"3";

                 }

          s:13:"63eb818eb8cd4";

             a:3:{s:2:"id";s:5:"23190";

                  s:3:"sku";s:5:"15154";

                  s:3:"qty";s:1:"1";

                 }

          s:13:"63eb81593a633";

             a:3:{s:2:"id";s:5:"33384";

                  s:3:"sku";s:7:"2155614";

                  s:3:"qty";s:1:"1";

                 }

         }

     

    It is no problem to rebuild this key in our program for product management except for the highlighted text.
    How is this string ( ex "63eb81746b0b8") created and what is it used for ?

    Best regards

    Jhonny Van Even

  •  1,226
    Dustin replied

    Hi Jhonny,

    Thanks for your interest in our plugin!

    These keys are random strings, we used the function uniqid() to generate them https://www.screencast.com/t/CJaS7WtWWI and it was used for this form only https://www.screencast.com/t/BYQyOtOu since we can't leave it emptysmile.png

    Best regards,
    Dustin