Question

How do I disable the New Button in the Products Section

Good day,



I was just wondering if the "New Product" button can be disabled in the Products Section? If it can be disabled, can you please let me know how it's done ?





Thank you in advance for any pointers.



Regards,

Vishal.

 

Like 0

Like

3 comments
define("ProductSectionV2", [], function() {
	return {
		entitySchemaName: "Product",
		details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
		diff: /**SCHEMA_DIFF*/[
			{
				"operation": "merge",
				"name": "SeparateModeAddRecordButton",
				"values": {
					"enabled": false,
				}
			},
			{
				"operation": "merge",
				"name": "CombinedModeAddRecordButton",
				"values": {
					"enabled": false
				}
			}
		]/**SCHEMA_DIFF*/,
		methods: {}
	};
});

 

Thanks Alex, this worked !



Appreciate your time !

Vishal Chandrasekar,

You are welcome :)

Show all comments