php | naveenOS https://www.naveenos.com How may I help you - Magento Certified Developer Wed, 07 Jun 2023 15:00:36 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 Convert VueJS site to NuxtJS https://www.naveenos.com/2023/06/convert-vuejs-site-to-nuxtjs https://www.naveenos.com/2023/06/convert-vuejs-site-to-nuxtjs#respond Wed, 07 Jun 2023 15:00:34 +0000 https://www.naveenos.com/?p=1045 To convert a Vue.js website to Nuxt.js, you need to follow a few steps. Nuxt.js is a framework built on top of Vue.js that provides server-side rendering (SSR) and other useful features for building universal web applications. Here’s a general process to convert your Vue.js website to Nuxt.js: Set up a new Nuxt.js project: Create […]

The post Convert VueJS site to NuxtJS first appeared on naveenOS.]]>
https://www.naveenos.com/2023/06/convert-vuejs-site-to-nuxtjs/feed 0
Install Latest or Old version of Magento2 via Composer https://www.naveenos.com/2020/12/install-latest-or-old-version-of-magento2-via-composer https://www.naveenos.com/2020/12/install-latest-or-old-version-of-magento2-via-composer#respond Wed, 23 Dec 2020 09:37:31 +0000 https://www.naveenos.com/?p=600 To get the Magento metapackage: Log in to your Magento server or localhost path where you would like to install the Magento. Make sure you have proper permissions to use that folder. Change to the web server docroot directory or a directory that you have configured as a virtual host docroot. Create a new Composer […]

The post Install Latest or Old version of Magento2 via Composer first appeared on naveenOS.]]>
https://www.naveenos.com/2020/12/install-latest-or-old-version-of-magento2-via-composer/feed 0
Magento 2: Static files are present but shows 404 Error https://www.naveenos.com/2020/08/magento-2-static-files-are-present-but-shows-404-error https://www.naveenos.com/2020/08/magento-2-static-files-are-present-but-shows-404-error#respond Wed, 12 Aug 2020 21:16:00 +0000 https://www.naveenos.com/?p=951 Instead of look on the server directly, we should check first the Magento setup. Generally, this errors comes when the setup missing the .htaccess file in the pub/static folder. Here below I mentioned the .htaccess file code. You can copy it and create a .htaccess file inside pub/static folder and paste. Tweet This Post

The post Magento 2: Static files are present but shows 404 Error first appeared on naveenOS.]]>
https://www.naveenos.com/2020/08/magento-2-static-files-are-present-but-shows-404-error/feed 0
How to replace string in parentheses using regex https://www.naveenos.com/2012/06/how-to-replace-string-in-parentheses-using-regex https://www.naveenos.com/2012/06/how-to-replace-string-in-parentheses-using-regex#respond Wed, 27 Jun 2012 15:05:01 +0000 http://www.naveenos.com/?p=525 PHP, Java and other languages provide replace all functionality to replace any character by any specific character. But REGEX is best method to replace or remove any specific value using pattern. Suppose, we have input string is $xyz = "This is my best (friend)"; and we want to remove words from “()”. So it so […]

The post How to replace string in parentheses using regex first appeared on naveenOS.]]>
https://www.naveenos.com/2012/06/how-to-replace-string-in-parentheses-using-regex/feed 0
How to programmatically add shipment with a tracking number to any order : PART II https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-ii https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-ii#comments Tue, 15 May 2012 06:45:58 +0000 http://www.naveenos.com/?p=514 In my previous post [How to programmatically add shipment with a tracking number to any order : PART I], you found that how can we generate shipment for an order programmatically. Here we are going to learn next step to add tracking number with generated shipment. We are assuming that you are going to use […]

The post How to programmatically add shipment with a tracking number to any order : PART II first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-ii/feed 1
How to programmatically add shipment with a tracking number to any order : PART I https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-i https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-i#respond Tue, 15 May 2012 06:30:27 +0000 http://www.naveenos.com/?p=509 We are assuming that we have an order incremented id. and we want to make shipment for this order. Here also we are assuming that invoice has been generated for order already. so we are going to generate only shipment. $orderId = '1000001'; $order = Mage::getModel('sales/order')->loadByIncrementId($orderId); Here we are checking the current status of order […]

The post How to programmatically add shipment with a tracking number to any order : PART I first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-i/feed 0
How to get ordered Items and their detail for an order ID in Magento? https://www.naveenos.com/2012/05/how-to-get-ordered-items-and-their-detail-for-an-order-id-in-magento https://www.naveenos.com/2012/05/how-to-get-ordered-items-and-their-detail-for-an-order-id-in-magento#respond Thu, 10 May 2012 09:34:21 +0000 http://www.naveenos.com/?p=505 I tried to wrote this code when I was working on a cron file for all orders. My client wants a cron file that get all orders information including all ordered item and their detail. First, I searched on google but I didn’t found any exact solution then I tried below code: By below code […]

The post How to get ordered Items and their detail for an order ID in Magento? first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-get-ordered-items-and-their-detail-for-an-order-id-in-magento/feed 0
How to add custom layout template in Magento https://www.naveenos.com/2012/05/how-to-add-custom-layout-template-in-magento https://www.naveenos.com/2012/05/how-to-add-custom-layout-template-in-magento#respond Thu, 10 May 2012 08:14:17 +0000 http://www.naveenos.com/?p=500 Magento provides following types of page layout in default. 1column, 2columns-left, 2columns-right, 3columns, empty, and print. But sometimes we need to change design in layout and we do not want to affect on other pages. For example, we want to use different layout for all static pages. and we want to use 2columns-left layout style […]

The post How to add custom layout template in Magento first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-add-custom-layout-template-in-magento/feed 0
Magento: How to merge multiple fields in a colum in Magento admin panel grid? https://www.naveenos.com/2012/05/magento-how-to-merge-multiple-fields-in-a-colum-in-magento-admin-panel-grid https://www.naveenos.com/2012/05/magento-how-to-merge-multiple-fields-in-a-colum-in-magento-admin-panel-grid#comments Thu, 03 May 2012 07:48:36 +0000 http://www.naveenos.com/?p=491 Magento provides lot of inbuild functionalities. Using “protected function _prepareColumns()” function we can create or add new column to the grid. Like: protected function _prepareColumns() { $this->addColumn('first_name', array( 'header' => Mage::helper('custommodule')->__('First Name'), 'align' => 'left', 'width' => '50px', 'index' => 'first_name', )); $this->addColumn('last_name', array( 'header' => Mage::helper('custommodule')->__('Last Name'), 'align' => 'left', 'width' => '50px', 'index' […]

The post Magento: How to merge multiple fields in a colum in Magento admin panel grid? first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/magento-how-to-merge-multiple-fields-in-a-colum-in-magento-admin-panel-grid/feed 1
Magento: Add/ Remove account dashboard navigation links https://www.naveenos.com/2012/01/magento-add-remove-account-dashboard-navigation-links https://www.naveenos.com/2012/01/magento-add-remove-account-dashboard-navigation-links#comments Thu, 12 Jan 2012 06:54:11 +0000 http://naveenos.com/?p=464 We can add or remove anythings in magento core files but it is not a perfect solution. To make a perfect solution, we are creating a small module. By this module you will able to add / remove navigation links from customer account dashboard. Firstly, we create a module XML file to access from local […]

The post Magento: Add/ Remove account dashboard navigation links first appeared on naveenOS.]]>
https://www.naveenos.com/2012/01/magento-add-remove-account-dashboard-navigation-links/feed 1