Remove Lock from Custom Item Field in SuiteCommerce Advanced

Scenario There are instances that a custom item field is locked or will not allow users to update its current setup. Solution To remove the lock in Custom Item Field, make sure to delete all the association of this field in the Web Site Setup page under Commerce > Websites > Website List then edit the website. In the Search Index tab, make… Continue reading Remove Lock from Custom Item Field in SuiteCommerce Advanced

Insert Contents into the table of database

The contents can be inserted by using the function given below: function my_plugin_insert_db() {  global $wpdb;  $username = ‘wordpress’;  $email = ‘test1@wordpress.com‘;  $table_name = $wpdb->prefix . ‘db_plugin’;  $wpdb->insert(  $table_name,  array(  ‘username’ => $username,  ’email’ => $email,  )  );  }  if(isset($_POST[‘button2’])) {      global $wpdb;      $username = $_POST[“fname”];      $email = $_POST[“email”];      $table_name =… Continue reading Insert Contents into the table of database

Create a Plugin in wordpress

Create a Plugin in wordpress  1.Create a folder and a php file in it.  In the php file,add a comment so that wordpress identify php file as plugin.  /* Plugin Name: DB Plugin add Menu */  Appropriate code can be written in the php file to achieve the functionality of plugin. Activation and deactivation hooks provide ways to… Continue reading Create a Plugin in wordpress

Documentation for Preparing for Google Universal Analytics 4.

As per google news, they are going to stop the Google Universal Analytics services or GUA or GA3 from upcoming July 1st, 2023.  Hence, we need to update our SCA websites as per the google instructions provided in their documentation.  So, we need to implement Google Analytics 4(GA4) in our websites for continuing the Google… Continue reading Documentation for Preparing for Google Universal Analytics 4.

WordPress register_post_type

Using Custom Post Types, you can register your own post type. Once a custom post type is registered, it gets a new top-level administrative screen that can be used to manage and create posts of that type. To register a new post type, you use the register_post_type () function. Reference:https://developer.wordpress.org/reference/functions/register_post_type/

Published
Categorized as Wordpress

WordPress add_menu_page ()

Introduction # This function is to add an item in the admin panel’s nav bar. Syntax add_menu_page ( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position) Parameters Remarks Here is a list of the default positions (for $position) 2 – Dashboard 4 – Separator … Adding the “Theme page title” item to the nav bar Code… Continue reading WordPress add_menu_page ()

Published
Categorized as Wordpress

Bigcommerce – Headless storefront with Next.js

Headless is the decoupling of presentation layer from backend. Presentation layer means, what a shopper sees ad experiences. shopper sees when they first get to the website, the experience they have on the website, where they start getting to know the brand story & engaging with the products. This experience can be managed by a… Continue reading Bigcommerce – Headless storefront with Next.js

Published
Categorized as BigCommerce