Any experience with the Item Badges extension? I'm...
# suitecommerce
a
Any experience with the Item Badges extension? I'm following the instructions here: https://developers.suitecommerce.com/chapter1550679516|
1. In NetSuite, go to Setup > SuiteCommerce Advanced > Configuration. 2. Select the website and domain where the Item Badges extension is activated and click Configure. 3. Navigate to the Extensions tab and the Item Badges subtab. 4. In the Badge Position field, select where to position the badge on the product image. 5. Click Save. ... there isn't an Item Badges subtab
p
Can you go to the bundle folder in the file cabinet, and look for the code there?
the full extension code should be in the FC including the Configuration.json file
so you can check where the tab actually lives
a
'commerceSuiteSolution'
p
Does it declare the tab???
i wonder if it's a very silly problem where they are assuming another something (extension?) creates the tab....
a
Copy code
{
  "type": "object",
  "subtab": {
    "id": "itemBadges",
    "title": "Item Badges",
    "group": "commerceSuiteSolution"
  },
  "properties": {
    "itemBadges.showInFacet": {
      "group": "commerceSuiteSolution",
      "type": "boolean",
      "subtab": "itemBadges",
      "title": "Show Item Badges in Facet",
      "default": true
    },
    "itemBadges.facetName": {
      "group": "commerceSuiteSolution",
      "type": "string",
      "subtab": "itemBadges",
      "title": "Facet Title",
      "default": "Badges"
    }
  }
}
p
Who creates the "group"? 😄
a
🤷
p
Do you have any other extensions? just declare the group yourself and see lol.
a
What do you mean?
p
add on any of your extensions, the following:
Copy code
"group": {
      "id": "commerceSuiteSolution",
"title": "Commerce suitesolution",
    
 
  },
Because if that "group" is not declared, the config is never going to show up. and in that extension it's clear that it's not present
a
I guess I'll have to make an extension just for this. It's Suitecommerce (Standard).
p
What bundle are you using?
251246 ?
a
Yep.
p
is it updated?
a
Yep, it's 1.1.2.
p
Oh lol!!! SuiteBundles 
 Bundle 251246 
 com.netsuite.itembadges100 
 Modules 
 Main 
 Configuration { "type": "object", "subtab": { "id": "itemBadges", "title": "Item Badges", "description": "", "group": "extensions", "docRef": "" }, "properties": { "itemBadges.position": { "group": "extensions", "subtab": "itemBadges", "type": "string", "title": "Badge Position", "description": "", "enum": [ "Top-left", "Top-right" ], "default": "Top-left" } } } that says "EXTENSIONS"
but SuiteBundles 
 Bundle 251246 
 com.netsuite.itembadges100 
 Modules 
 ItemBadges 
 Configuration { "type": "object", "subtab": { "id": "itemBadges", "title": "Item Badges", "group": "commerceSuiteSolution" }, "properties": { "itemBadges.showInFacet": { "group": "commerceSuiteSolution", "type": "boolean", "subtab": "itemBadges", "title": "Show Item Badges in Facet", "default": true }, "itemBadges.facetName": { "group": "commerceSuiteSolution", "type": "string", "subtab": "itemBadges", "title": "Facet Title", "default": "Badges" } } } Uses commerce suite solution
This screams bug to me 🙂
a
Guess I'll open a support case...
I'd just be happy to figure out which extension I don't have which I could get that would fix it.
p
I'd just go with trying an empty extension. With only the group declaration
While support understands and passes the info to dev and etc...
a
Thanks for your help!
p
No worries! i hope i got that right because it's just my diagnostic of looking at JSON - 0 experience with the bundle.
w
If you are using custom item forms, you may have to add those fields to the custom item forms you are using.
a
@wes_w It's not a custom item form -- it's the Configuration record, which is a scripted UI presentation of a JSON file. @PabloZ I found another Extension missing the subtab in Configuration -- SuiteCommerce Shipping Bar. 😆
p
😄 did my fix work?
a
@PabloZ Honestly? I have NO IDEA. Suddenly there is an Item Badges subtab. I didn't do anything. 😄
I think maybe this NetSuite instance is haunted. 🤣