To show or to hide an element by targeting id using jquery

The matched elements will be hidden immediately, with no animation. This is roughly equivalent to callingĀ .css( “display”, “none” ) We can use if else condition in hiding and showing an element css can be used in script using jquery hide and show is triggered when condition is executed

Manage and configure metafield definitions for Shopify products and its variants

In addition to the metafields, the integration app gets the metafield definitions for product and their variants from Shopify. This allows you to create additional data constraints for metafields and enable the merchant to edit metafield values in context. For every metafield that is synced to Shopify, the integration app searches for the matching metafield… Continue reading Manage and configure metafield definitions for Shopify products and its variants

How to remove standard message when a document is about to unloaded?

The onbeforeunload event occurs when a document is about to be unloaded. This event allows you to display a message in a confirmation dialog box to inform the user whether he/she wants to stay or leave the current page. The default message that appears in the confirmation box, is different in different browsers. However, the… Continue reading How to remove standard message when a document is about to unloaded?

Verification and Validation Testing

Verification testing Verification testing includes different activities such as business requirements, system requirements, design review, and code walkthrough while developing a product. It is also known as static testing, where we are ensuring that “we are developing the right product or not“. And it also checks that the developed application fulfilling all the requirements given… Continue reading Verification and Validation Testing

Disallow the creation of bill if reference already exists for a vendor through csv imports.

if (scriptContext.type == scriptContext.UserEventType.CREATE), then check whether it is a vendor bill. Get the values of vendor and reference number from the current record. Create search to get the count of reference number which is entered in the vendor bill. Return the count. var searchBillResultCount = vendorbillSearchObj.runPaged().count; return searchBillResultCount; If count is greater than zero,… Continue reading Disallow the creation of bill if reference already exists for a vendor through csv imports.