Support » Plugin: PPOM for WooCommerce » 18.6 doesn’t show fields in some cases

  • Resolved brozra

    (@brozra)


    Updated plugin to 18.6 release and some products didn’t show any fields and showed this error message:

    Some of your fields has duplicated datanames, please fix it

    I’ve been using this plugin for quite some time and have even helped you out with issues. I know that all of my data names are unique.

    It seemed to only affect meta groups that had hidden fields. Just FYI.

    Software in use:
    WordPress 5.2.4
    WooCommerce 3.7.1
    PPOM 18.6
    PPOM Pro 18.6
    PPOM Image DropDown 2.2

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author N-Media

    (@nmedia)

    Hi @brozra,

    yes, we know you are a very active user of PPOM, can you please send me PPOM Json via showing this message?

    Thread Starter brozra

    (@brozra)

    None of the PPOM JSON is loaded after page load. I have verified that the error only occurs when a product is associated with a meta group that has hidden meta fields.

    I rolled back to version 18.5 and the problem was resolved.

    Here is a JSON export of one of the meta groups that is being affected. I have several similar to this but this is the most common being used.

    [{“send_file_attachment”:””,”show_cart_thumb”:””,”aviary_api_key”:””,”productmeta_style”:””,”productmeta_id”:”17″,”productmeta_created”:”2018-11-24 17:14:36″,”productmeta_name”:”all_other_colors_builders”,”productmeta_categories”:”field-army-colors-builder\r\ncorps-colors-builder\r\ndivision-colors-builder\r\nbrigade-colors-builder\r\ngarrison-colors-builder\r\nother-colors-builder”,”dynamic_price_display”:”option_sum”,”productmeta_validation”:”yes”,”the_meta”:”{"1":{"type":"hidden","title":"Builder Type","data_name":"builder_type","field_value":"Field Army Colors Builder","visibility":"everyone","visibility_role":"","ppom_id":"17"},"2":{"type":"select","title":"Add Hardware","data_name":"add_hardware","description":"Add store-provided hardware (branch insignia or rank), send your own to have us place on your product or tell us to leave it empty so you can add your own later.","error_message":"","options":[{"option":"No","price":"","weight":"","id":"add_hw_no"},{"option":"Yes","price":"","weight":"","id":"add_hw_yes"}],"selected":"No","first_option":"","class":"","width":"12","visibility":"everyone","visibility_role":"","desc_tooltip":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"add_hardware","operators":"is","element_values":"No"}]},"ppom_id":"17"},"3":{"type":"select","title":"Left Hardware Space","data_name":"left_hardware_space","description":"Select the type of hardware you would like to be placed in the slot \\\\\/ space on the left side.","error_message":"","options":[{"option":"Leave empty","price":"","weight":"","id":"leave_empty"},{"option":"US Army branch insignia","price":"5","weight":"","id":"us_army_branch_insignia"},{"option":"US Army rank","price":"5","weight":"","id":"us_army_rank"},{"option":"Send us custom hardware","price":"","weight":"","id":"send_us_custom_hardware"}],"selected":"Leave empty","first_option":"","class":"","width":"12","visibility":"everyone","visibility_role":"","desc_tooltip":"on","logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"add_hardware","operators":"is","element_values":"Yes"}]},"ppom_id":"17"},"4":{"type":"imageselect","title":"Branch insignia for left space","data_name":"branch_insignia_for_left_space","description":"","image_width":"45px","image_height":"45px","bg_color":"","position":"left","width":"12","visibility":"everyone","visibility_role":"","images":[{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0001_acquisitions.png","id":"727","title":"Acquisitions","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0002_adjutant_general.png","id":"729","title":"Adjutant General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0003_aide_to_general.png","id":"731","title":"Aide to General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0004_aide_to_lieutenant_general.png","id":"732","title":"Aide to Lieutenant General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0005_aide_to_major_general.png","id":"733","title":"Aide to Major General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0006_aide_to_brigadier_general.png","id":"734","title":"Aide to Brigadier General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0007_air_defense_artillery.png","id":"735","title":"Air Defense Artillery","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0008_armor.png","id":"736","title":"Armor","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0009_army_band.png","id":"737","title":"Army Band","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0010_aviation.png","id":"738","title":"Aviation","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0011_branch_immaterial.png","id":"739","title":"Branch Immaterial","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0012_cavalry.png","id":"740","title":"Cavalry","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0013_chaplain_buddhist.png","id":"741","title":"Chaplain Buddhist","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0014_chaplain_christian.png","id":"742","title":"Chaplain Christian","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0015_chaplain_hindu.png","id":"743","title":"Chaplain Hindu","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0016_chaplain_jewish.png","id":"744","title":"Chaplain Jewish","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0017_chaplain_muslim.png","id":"745","title":"Chaplain Muslim","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0018_chaplains_assistant.png","id":"746","title":"Chaplain\\\\\\\\'s Assistant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0019_chemical.png","id":"747","title":"Chemical","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0020_civil_affairs.png","id":"748","title":"Civil Affairs","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0021_corps_of_engineers.png","id":"749","title":"Corps of Engineers","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0022_cyber_corps.png","id":"750","title":"Cyber Corps","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0023_dental.png","id":"751","title":"Dental","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0024_electronic_warfare.png","id":"752","title":"Electronic Warfare","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0025_field_artillery.png","id":"753","title":"Field Artillery","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0026_finance.png","id":"754","title":"Finance","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0027_general_staff.png","id":"755","title":"General Staff","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0028_infantry.png","id":"756","title":"Infantry","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0029_inspector_general.png","id":"757","title":"Inspector General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0030_judge_advocate_general.png","id":"758","title":"Judge Advocate General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0031_logistics.png","id":"759","title":"Logistics","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0032_medical_corps.png","id":"760","title":"Medical Corps","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0033_medical_service.png","id":"761","title":"Medical Service","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0034_medical_specialist.png","id":"762","title":"Medical Specialist","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0035_military_intelligence.png","id":"763","title":"Military Intelligence","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0036_military_police.png","id":"764","title":"Military Police","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0037_national_guard_bureau.png","id":"765","title":"National Guard Bureau","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0038_nursing.png","id":"766","title":"Nursing","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0039_ordnance.png","id":"767","title":"Ordnance","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0040_psychological_operations.png","id":"768","title":"Psychological Operations","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0041_public_affairs.png","id":"769","title":"Public Affairs","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0042_quartermaster.png","id":"770","title":"Quartermaster","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0043_signal_corps.png","id":"771","title":"Signal Corps","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0044_special_forces.png","id":"772","title":"Special Forces","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0045_staff_specialist__usar-arng_.png","id":"773","title":"Staff Specialist (USAR-ARNG)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0046_transportation.png","id":"774","title":"Transportation","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0047_veterinary.png","id":"775","title":"Veterinary","price":"","description":""}],"logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"left_hardware_space","operators":"is","element_values":"US Army branch insignia"}]},"ppom_id":"17"},"5":{"type":"imageselect","title":"Rank For left space","data_name":"rank_for_left_space","description":"","image_width":"45px","image_height":"45px","bg_color":"","position":"left","width":"12","visibility":"everyone","visibility_role":"","images":[{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/general__o-10_.png","id":"793","title":"General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/lieutenant_general__o-9_.png","id":"824","title":"Lieutenant General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/major_general__o-8_.png","id":"826","title":"Major General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/brigadier_general__o-7_.png","id":"782","title":"Brigadier General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/colonel__o-6_.png","id":"788","title":"Colonel","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/lieutenant_colonel__o-5_.png","id":"823","title":"Lieutenant Colonel","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/major__o-4_.png","id":"825","title":"Major","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/captain__o-3_.png","id":"783","title":"Captain","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/1st_lieutenant__o-2_.png","id":"728","title":"1st Lieutenant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/2nd_lieutenant__o-1_.png","id":"730","title":"2nd Lieutenant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-5_.png","id":"787","title":"Chief Warrant Officer (W-5)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-4_.png","id":"786","title":"Chief Warrant Officer (W-4)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-3_.png","id":"785","title":"Chief Warrant Officer (W-3)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-2_.png","id":"784","title":"Chief Warrant Officer (W-2)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/warrant_officer__w-1_.png","id":"669","title":"Warrant Officer","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/command_sergeant_major__e-9_.png","id":"789","title":"Command Sergeant Major","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/sergeant_major__e-9_.png","id":"850","title":"Sergeant Major","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/first_sergeant__e-8_.png","id":"792","title":"First Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/master_sergeant__e-8_.png","id":"827","title":"Master Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/sergeant_first_class__e-7_.png","id":"849","title":"Sergeant First Class","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/staff_sergeant__e-6_.png","id":"667","title":"Staff Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/sergeant__e-5_.png","id":"848","title":"Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/corporal__e-4_.png","id":"790","title":"Corporal","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/specialist__e-4_.png","id":"666","title":"Specialist","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/private_first_class__e-3_.png","id":"830","title":"Private First Class","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/private__e-2_.png","id":"829","title":"Private","price":"","description":""}],"logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"left_hardware_space","operators":"is","element_values":"US Army rank"}]},"ppom_id":"17"},"6":{"type":"textarea","title":"Custom hardware for left space","data_name":"custom_hardware_for_left_space","description":"Tell us exactly what you will send and how you want it to appear for this space. Be sure to include item dimensions (width and height). Examples: 2\\\\u2033 circular unit coin, 3\\\\u2033 x 4\\\\u2033 unit patch, etc.","placeholder":"Example: 2\\\\u2033 circular unit coin","error_message":"Details are required.","default_value":"","rows":"","max_length":"","class":"","width":"12","visibility":"everyone","visibility_role":"","required":"on","logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"left_hardware_space","operators":"is","element_values":"Send us custom hardware"}]},"ppom_id":"17"},"7":{"type":"select","title":"Right Hardware Space","data_name":"right_hardware_space","description":"Select the type of hardware you would like to be placed in the slot \\\\\/ space on the right side.","error_message":"","options":[{"option":"Leave empty","price":"","weight":"","id":"leave_empty"},{"option":"US Army branch insignia","price":"5","weight":"","id":"us_army_branch_insignia"},{"option":"US Army rank","price":"5","weight":"","id":"us_army_rank"},{"option":"Send us custom hardware","price":"","weight":"","id":"send_us_custom_hardware"}],"selected":"Leave empty","first_option":"","class":"","width":"12","visibility":"everyone","visibility_role":"","desc_tooltip":"on","logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"add_hardware","operators":"is","element_values":"Yes"}]},"ppom_id":"17"},"8":{"type":"imageselect","title":"Branch insignia for right space","data_name":"branch_insignia_for_right_space","description":"","image_width":"45px","image_height":"45px","bg_color":"","position":"left","width":"12","visibility":"everyone","visibility_role":"","images":[{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0001_acquisitions.png","id":"727","title":"Acquisitions","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0002_adjutant_general.png","id":"729","title":"Adjutant General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0003_aide_to_general.png","id":"731","title":"Aide to General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0004_aide_to_lieutenant_general.png","id":"732","title":"Aide to Lieutenant General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0005_aide_to_major_general.png","id":"733","title":"Aide to Major General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0006_aide_to_brigadier_general.png","id":"734","title":"Aide to Brigadier General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0007_air_defense_artillery.png","id":"735","title":"Air Defense Artillery","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0008_armor.png","id":"736","title":"Armor","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0009_army_band.png","id":"737","title":"Army Band","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0010_aviation.png","id":"738","title":"Aviation","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0011_branch_immaterial.png","id":"739","title":"Branch Immaterial","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0012_cavalry.png","id":"740","title":"Cavalry","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0013_chaplain_buddhist.png","id":"741","title":"Chaplain Buddhist","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0014_chaplain_christian.png","id":"742","title":"Chaplain Christian","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0015_chaplain_hindu.png","id":"743","title":"Chaplain Hindu","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0016_chaplain_jewish.png","id":"744","title":"Chaplain Jewish","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0017_chaplain_muslim.png","id":"745","title":"Chaplain Muslim","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0018_chaplains_assistant.png","id":"746","title":"Chaplain\\\\\\\\'s Assistant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0019_chemical.png","id":"747","title":"Chemical","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0020_civil_affairs.png","id":"748","title":"Civil Affairs","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0021_corps_of_engineers.png","id":"749","title":"Corps of Engineers","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0022_cyber_corps.png","id":"750","title":"Cyber Corps","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0023_dental.png","id":"751","title":"Dental","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0024_electronic_warfare.png","id":"752","title":"Electronic Warfare","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0025_field_artillery.png","id":"753","title":"Field Artillery","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0026_finance.png","id":"754","title":"Finance","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0027_general_staff.png","id":"755","title":"General Staff","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0028_infantry.png","id":"756","title":"Infantry","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0029_inspector_general.png","id":"757","title":"Inspector General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0030_judge_advocate_general.png","id":"758","title":"Judge Advocate General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0031_logistics.png","id":"759","title":"Logistics","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0032_medical_corps.png","id":"760","title":"Medical Corps","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0033_medical_service.png","id":"761","title":"Medical Service","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0034_medical_specialist.png","id":"762","title":"Medical Specialist","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0035_military_intelligence.png","id":"763","title":"Military Intelligence","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0036_military_police.png","id":"764","title":"Military Police","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0037_national_guard_bureau.png","id":"765","title":"National Guard Bureau","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0038_nursing.png","id":"766","title":"Nursing","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0039_ordnance.png","id":"767","title":"Ordnance","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0040_psychological_operations.png","id":"768","title":"Psychological Operations","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0041_public_affairs.png","id":"769","title":"Public Affairs","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0042_quartermaster.png","id":"770","title":"Quartermaster","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0043_signal_corps.png","id":"771","title":"Signal Corps","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0044_special_forces.png","id":"772","title":"Special Forces","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0045_staff_specialist__usar-arng_.png","id":"773","title":"Staff Specialist (USAR-ARNG)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0046_transportation.png","id":"774","title":"Transportation","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/0047_veterinary.png","id":"775","title":"Veterinary","price":"","description":""}],"logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"right_hardware_space","operators":"is","element_values":"US Army branch insignia"}]},"ppom_id":"17"},"9":{"type":"imageselect","title":"Rank for right space","data_name":"rank_for_right_space","description":"","image_width":"45px","image_height":"45px","bg_color":"","position":"left","width":"12","visibility":"everyone","visibility_role":"","images":[{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/general__o-10_.png","id":"793","title":"General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/lieutenant_general__o-9_.png","id":"824","title":"Lieutenant General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/major_general__o-8_.png","id":"826","title":"Major General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/brigadier_general__o-7_.png","id":"782","title":"Brigadier General","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/colonel__o-6_.png","id":"788","title":"Colonel","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/lieutenant_colonel__o-5_.png","id":"823","title":"Lieutenant Colonel","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/major__o-4_.png","id":"825","title":"Major","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/captain__o-3_.png","id":"783","title":"Captain","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/1st_lieutenant__o-2_.png","id":"728","title":"1st Lieutenant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/2nd_lieutenant__o-1_.png","id":"730","title":"2nd Lieutenant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-5_.png","id":"787","title":"Chief Warrant Officer (W-5)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-4_.png","id":"786","title":"Chief Warrant Officer (W-4)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-3_.png","id":"785","title":"Chief Warrant Officer (W-3)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/chief_warrant_officer__w-2_.png","id":"784","title":"Chief Warrant Officer (W-2)","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/warrant_officer__w-1_.png","id":"669","title":"Warrant Officer","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/command_sergeant_major__e-9_.png","id":"789","title":"Command Sergeant Major","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/sergeant_major__e-9_.png","id":"850","title":"Sergeant Major","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/first_sergeant__e-8_.png","id":"792","title":"First Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/master_sergeant__e-8_.png","id":"827","title":"Master Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/sergeant_first_class__e-7_.png","id":"849","title":"Sergeant First Class","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/staff_sergeant__e-6_.png","id":"667","title":"Staff Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/sergeant__e-5_.png","id":"848","title":"Sergeant","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/corporal__e-4_.png","id":"790","title":"Corporal","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/specialist__e-4_.png","id":"666","title":"Specialist","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/private_first_class__e-3_.png","id":"830","title":"Private First Class","price":"","description":""},{"link":"https:\\\\\/\\\\\/allthingsemb.production.brozra.com\\\\\/wp-content\\\\\/uploads\\\\\/private__e-2_.png","id":"829","title":"Private","price":"","description":""}],"logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"right_hardware_space","operators":"is","element_values":"US Army rank"}]},"ppom_id":"17"},"10":{"type":"textarea","title":"Custom hardware for right space","data_name":"custom_hardware_for_right_space","description":"Tell us exactly what you will send and how you want it to appear for this space. Be sure to include item dimensions (width and height). Examples: 2\\\\u2033 circular unit coin, 3\\\\u2033 x 4\\\\u2033 unit patch, etc.","placeholder":"Example: 2\\\\u2033 circular unit coin","error_message":"Details are required.","default_value":"","rows":"","max_length":"","class":"","width":"12","visibility":"everyone","visibility_role":"","required":"on","logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"right_hardware_space","operators":"is","element_values":"Send us custom hardware"}]},"ppom_id":"17"},"11":{"type":"select","title":"Add Inscription","data_name":"add_inscription","description":"Add a custom laser-engraved inscription on a 4\\\\u2033 (W) x 2\\\\u00bd\\\\u2033 (H) black plate with gold trim and gold engraved text.","error_message":"","options":[{"option":"No","price":"","weight":"","id":"add_inscr_no"},{"option":"Yes","price":"15","weight":"","id":"add_inscr_yes"}],"selected":"","first_option":"","class":"","width":"12","visibility":"everyone","visibility_role":"","desc_tooltip":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"add_hardware","operators":"is","element_values":"No"}]},"ppom_id":"17"},"12":{"type":"textarea","title":"Plate Inscription","data_name":"plate_inscription","description":"One (1) line minimum; eight (8) line maximum; maximum of 50 characters per line. Use as few lines as you desire. We will adjust the size and positioning of the text you enter to make it fit appropriately.","placeholder":"","error_message":"","default_value":"","rows":"","max_length":"407","class":"","width":"12","visibility":"everyone","visibility_role":"","required":"on","logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"add_inscription","operators":"is","element_values":"Yes"}]},"ppom_id":"17"},"13":{"type":"select","title":"Can we display this inscription?","data_name":"can_we_display_this_inscription_","description":"Do we have permission to display this custom inscription for the inscription assistance tool? It will be publicly available.","error_message":"","options":[{"option":"No","price":"","weight":"","id":"no"},{"option":"Yes","price":"","weight":"","id":"yes"}],"selected":"No","first_option":"","class":"","width":"12","visibility":"everyone","visibility_role":"","desc_tooltip":"on","logic":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"add_inscription","operators":"is","element_values":"Yes"}]},"ppom_id":"17"},"14":{"type":"select","title":"Frame","data_name":"frame","description":"","error_message":"","options":[{"option":"None","price":"","weight":"","id":"none"},{"option":"Brown wood with gold trim","price":"64","weight":"5","id":"brownwoodwithgoldtrim"},{"option":"Black Plastic","price":"52","weight":"5","id":"black_plastic"},{"option":"Brown Plastic","price":"52","weight":"5","id":"brown_plastic"}],"selected":"","first_option":"","class":"","width":"12","visibility":"everyone","visibility_role":"","ppom_id":"17"},"15":{"type":"date","title":"Delivery Date","data_name":"delivery_date","description":"When do you need this product delivered before? Enter or select a date.","placeholder":"mm\\\\\/dd\\\\\/yyyy","error_message":"","class":"","default_value":"","width":"12","date_formats":"mm\\\\\/dd\\\\\/yy","year_range":"c:c+2","visibility":"everyone","visibility_role":"","desc_tooltip":"on","required":"on","jquery_dp":"on","past_dates":"+10d","no_weekends":"on","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"builder_type","operators":"is","element_values":""}]},"ppom_id":"17"},"16":{"type":"textarea","title":"Other Comments","data_name":"other_comments","description":"Provide us with any other details about how you want this product customized.","placeholder":"","error_message":"","default_value":"","rows":"","max_length":"","class":"","width":"12","visibility":"everyone","visibility_role":"","conditions":{"visibility":"Show","bound":"All","rules":[{"elements":"builder_type","operators":"is","element_values":""}]},"ppom_id":"17"},"17":{"type":"hidden","title":"Builder Image","data_name":"_builder_image","field_value":"","visibility":"everyone","visibility_role":"","ppom_id":"17"}}”}]

    lgctr

    (@lgctr)

    This happened to me too.
    I tried to change the data names, but not worked.

    Then, i downgrade to version 18.4 and works fine.

    Plugin Author N-Media

    (@nmedia)

    W are working on this.

    Plugin Author N-Media

    (@nmedia)

    Hi there,

    can you plaease send json as email, the above json is not working. Send me file exported

    Thread Starter brozra

    (@brozra)

    Email sent. Keep in mind that the website I am using this on is password protected so you won’t be able to retrieve any images associated with the image dropdown fields. Sorry.

    Plugin Author N-Media

    (@nmedia)

    @brozra thanks for sending json file, I attached this here: https://ppom.nmdevteam.com/product/add-your-text/

    and you can it’s showing your meta, I didn’t edit anything into your meta.

    Thread Starter brozra

    (@brozra)

    Looks like you deleted the image drop-down fields. I don’t see any of them in there.

    I’ll try re-importing all meta groups and see if that fixes the issue.

    Plugin Author N-Media

    (@nmedia)

    No, image dropdown was in-active, I just activated it and it’s working.

    Thread Starter brozra

    (@brozra)

    Export / import of meta groups didn’t work. Deleting and re-inserting database table didn’t work.

    I checked the differentials between 18.5 and 18.6 and the problem, I believe, is the change in classes\ppom.class.php under the function get_meta_id.

    https://plugins.trac.wordpress.org/changeset/2184831/woocommerce-product-addon/trunk/classes/ppom.class.php

    There has been a change there that returns a merged array and is causing a failure in the function get_fields() that in effect returns a boolean false which causes failures down throughout the remainder of the functions in the class.

    Before, if a product didn’t have a post_meta with a meta_key of _product_meta_id then it ignored the null value. Now it returns a merged array with a null value no matter what. That merged array is causing complications with products that do not have a direct PPOM assignment in the database.

    • This reply was modified 2 years ago by brozra. Reason: changing logical structure of statement
    Plugin Author N-Media

    (@nmedia)

    Hi @brozra,

    I don’t think it’s a problem. But I found the issue. The collapsed fields has null data names or similar data names. And it’s creating the issue. So I have fixed this in coming version.

    You should see that your meta should have a unique collapsed data-name property.

    Thread Starter brozra

    (@brozra)

    The 18.8 beta version you made available corrects the category issues but there is still an issue with products that have a meta group category assignment and also an individually assigned meta group that is different than the category assignment.

    When a meta group is assigned to a category and then a different meta group (that doesn’t have a category assignment) is assigned to a product the fields seem to get doubled and produces the Some of your fields has duplicated datanames, please fix it error.

    In the past, it appeared that individual meta group assignments to a single product took precedence over meta group category assignments. It seems that this is no longer the case.

    Is this something you intend to fix or am I going to have to individually assign meta groups for products in a single category where I want only specific products to have different meta groups?

    Plugin Author N-Media

    (@nmedia)

    Hi,

    Thanks for sharing this with me. I will looking into it before official release.

    macmwebdesign

    (@macmwebdesign)

    I have the same issue. Please let us know when official release is tested and ready!
    Currently running older version until then.

    Thread Starter brozra

    (@brozra)

    @nmedia it seems that you changed the structure of the get_meta_id function to accommodate some other issue or request. Otherwise you wouldn’t have changed it.

    Let’s think outside the box here.

    How about adding a new setting that allows us to choose whether we want individual meta assignments to override categorical assignments? This can be accomplished with a new setting and a few lines of code in ppom.class.php under the get_meta_id function.

    Something like this:

    Add a new PPOM setting called Meta Group Overrides
    Give it three options:

    • Default
    • Category Overrides Individual Assignment
    • Individual Overrides Category Assignment

    Then add code to function get_meta_id to check for this value. If it’s set to default it can continue on and merge the array with any discovered categorical assignments. If it is set to category then discard any individual meta that was assigned. If it is set to individual, then skip the category assignments search and return the individual meta group id.

    How’s that sound?

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘18.6 doesn’t show fields in some cases’ is closed to new replies.