Saved search formula to set Due date 3 working days after the order date

The saved search formula will be in the result column which exclude the weekend dates and set the due date 3 days after order date in DD/MM/YYYY format Formula text: CASE TO_CHAR({trandate} + 3, ‘D’) WHEN ‘1’ THEN TO_CHAR({trandate} + 5, ‘DD/MM/YYYY’) WHEN ‘7’ THEN TO_CHAR({trandate} + 5, ‘DD/MM/YYYY’) ELSE TO_CHAR({trandate} + 3, ‘DD/MM/YYYY’) END

How to convert an Object manager to Block?

To get the source list, I am using object manager directly in my phtml template, but I read in docs that we should not use it directly. $objectManager = \Magento\Framework\App\ObjectManager::getInstance();$sourceList = $objectManager->get(‘\Magento\Inventory\Model\ResourceModel\Source\Collection’);$sourceListArr = $sourceList->load();foreach ($sourceListArr as $sourceItemName) {$sourceCode = $sourceItemName->getSourceCode();$sourceName = $sourceItemName->getName();} Solution: create a block for fetching the source collection. Then call the function… Continue reading How to convert an Object manager to Block?

Published
Categorized as Magento

Create a Downloadable Link using HTML5 Download Attribute

The default of your anchor tag is a navigational link, it will go to the link you specified in your href attribute. However, when you add the download attribute, it will turn that into a download link. Prompting your file to be downloaded. The downloaded file will have the same name as the original filename. However,… Continue reading Create a Downloadable Link using HTML5 Download Attribute

Uninstall The Bundles

If we want to Uninstall the bundles which is not Required we need to follow the Below Steps Navigates to Customization>Suite Bundler> Search and Install Bundles>List Select the bundle which we want to uninstall Hover on Arrow Down Button From the left side of the Bundle Click on Uninstall Follow the Process , The Bundle… Continue reading Uninstall The Bundles

An Intercompany Journal Entry to transfer Expenses from one Subsidiary to another Subsidiary

Intercompany allocation schedules transfer a balance from one source subsidiary account to multiple destination subsidiaries for costs that are shared between subsidiaries. Below are the steps to successfully transfer expenses from one Subsidiary to another: Navigate to Lists > Accounting > Accounts > New  Create new Intercompany Accounts Receivable Name: Intercompany Accounts Receivable Type: Other Current Asset Eliminate Intercompany Transactions: T Subsidiaries: parent company (include children) Include… Continue reading An Intercompany Journal Entry to transfer Expenses from one Subsidiary to another Subsidiary

Disabling submit button until all fields have values

var fields = “#user_input, #pass_input, #v_pass_input, #email”; $(fields).on(‘change’, function() {if (allFilled()) {$(‘#register’).removeAttr(‘disabled’);} else {$(‘#register’).attr(‘disabled’, ‘disabled’);}}); function allFilled() {var filled = true;$(fields).each(function() {if ($(this).val() == ”) {filled = false;}});return filled;} Reference:https://jsfiddle.net/chriscrowley/6fdxLkq0/

Published
Categorized as Magento

5 Content Writing Tools Every Writer Should Try

Writing quality content consistently can be a challenge even for the pros. Content writing tools help you iron out the glitches in a piece of content, making it highly engaging.  1. ProWritingAid   ProWritingAid is one of the advanced content writing tools that offer style editing grammar checks for writers of all kinds.  It is designed… Continue reading 5 Content Writing Tools Every Writer Should Try

How Seasonality Affects the SERPs and What It Means For SEO

If you’re in SEO, you may be wondering how seasonality affects the SERPs. Google has implemented some algorithm changes in recent years that can impact your ranking, and seasonality is no different. Google recently updated its algorithms in June and March, and those changes have affected the way your site ranks in Google searches. If… Continue reading How Seasonality Affects the SERPs and What It Means For SEO