Support » Plugin: Advanced Order Export For WooCommerce » TX Extra Product Options Snippet

  • I have been trying to install and use the snippit shown here (https://docs.algolplus.com/algol_order_export/woocommerce-tm-extra-product-options/) to enable me to export Extra Product Options data from Woo.
    While i have been able to create the labels for the additional fields, the data that relates to these additional fields is not being populated in the exports, and I am sure that this relates to my failure to “Tweak the Output for each field” which I have not been able to successfully tweak because I do not know what is required of this “Tweaking”.

    Can you please provide some guidance on what tweaks are required and how they are implemented to ensure that the relevant data is exported?

    Below is the list of additional fields that have been created via the snippet. Please advise how I set up the correct ‘tweak’ for the data in these fields to be exported:

    class WOE_TM_extra__options_fields {
    // EDIT list here, use pair ‘Export Label’=>[‘TM Field label’, ‘TM Field label 2’, ‘TM Field label N’]
    var $tm_fields = array(
    ‘Recent Prescription’ =>[‘Is your prescription less than 2 years old?’],
    ‘Lens Requirements’=>[‘Lens Requirements’],
    ‘Lens Type’=>[‘Lens Type’],
    ‘Choose Colour’=>[‘Choose Colour…’],
    ‘Mirror Coating’=>[‘Mirror Coating’],
    ‘SPH Reading’=>[‘Your SPH Reading’],
    ‘SPH’=>[‘SPH’],
    ‘CYL’=>[‘CYL’],
    ‘AXIS’=>[‘AXIS’],
    ‘ADD’=> [‘ADD’],
    ‘PD NEAR’=> [‘PD NEAR’],
    ‘PD RIGHT’=> [‘PD RIGHT’],
    ‘PD LEFT’=> [‘PD LEFT’],
    ‘PD DISTANCE’=> [‘PD DISTANCE’],
    ‘PD RIGHT’=> [‘PD RIGHT’],
    ‘PD LEFT’=> [‘PD LEFT’],
    ‘FURTHER INFO’=> [‘FURTHER INFO’],`

    I hope you can help me get through this problem. Some coding examples would be highly appreciated to explain the tweaks that are required.
    Thanks
    Graham

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘TX Extra Product Options Snippet’ is closed to new replies.