Posted in PHP / Python, Woocommerce

WooCommerce Product Cost Price


Features

  • By configure “Cost Of Goods” you can set cost for any product in store.
  • Cost price help to track profit reports.
  • We can use cost price in WooCommerce.
  • WooCommerce detailed Profit report.
  • Filter by
    • Profit by date
    • Profit by product
    • Profit by category
  • Details of profit for every product sold.

Simple Product Cost Configuration
You can add from the Product Edit screen where a new “Cost of Good” field is added in General tab for simple products and this should be product cost of good.

WooCommerce Cost Price Product
WooCommerce Cost Price Product

You can add cost of good for each variation product.

WooCommerce Cost Price Variation
WooCommerce Cost Price Variation

Product page display “Cost of Good” in column “Cost Price”.

Cost Price Product Page
Cost Price Product Page

Profit report by Date
See your net sales, cost price, profit, and average profit per order for any date range.

WooCommerce Profit Report by Date
WooCommerce Profit Report by Date

Profit report by product
Net sales for the selected item, total costs, total item profit, and total item purchases for the selected date range.

WooCommerce Profit Report By Product
WooCommerce Profit Report By Product

Profit report by category
See profit by product category. You can select one or more category for details.

WooCommerce Profit Report by Category
WooCommerce Profit Report by Category

Advertisements
Posted in Magento, PHP / Python

How to create custom email template in magento 2


Login in to Magento Admin

Go to Marketing -> Communications -> Email templates form Magento Navigation.

Go to Marketing Email Templates
Go to Marketing Email Templates

Now, click on Add New Template.

Add New Email Template
Add New Email Template

If you want to load default template than Select template and click on load template. After click in Template Information default content will be load.

Load Default Email Templates
Load Default Email Templates

You can add content on Template Content section and also give custom CSS that you can write on Template Styles.

Modified And Create New email Template
Modified And Create New email Template

You can see preview of your Email template by click on Preview Template.

Email Template Preview
Email Template Preview

And after all perfect Save Template.

For change Default Welcome Email (New customer)

Go to Stores -> configuration from Magento Navigation.

Go to Stores Configuration from Navigation
Go to Stores Configuration from Navigation

After that go to Customers -> Customer Configuration in that unchecked Use system value of Default Welcome Email and select your created custom template from drop box.

Set New Customer Email template to New Custom email Template
Set New Customer Email template to New Custom email Template

Save Configuration by click on Save Config button.

Posted in Magento, Open Source, PHP / Python

How to create shopping cart price rules in magento 2


Click here to see the video

Login in to Magento Admin.

Go to Marketing -> Cart Price Rules From Navigation

Go to Marketing promotion Cart price Rules
Go to Marketing promotion Cart price Rules

Add New Rule from Cart Price Rules Magento Admin page

Add new Cart Price Rule From Magento Admin
Add new Cart Price Rule From Magento Admin

Fill out below *Required fields details of cart price rules

  1. Rule Name: Enter your Rule name Like Monsoon Sale , Summer sale etc

  2. Websites: If stores have multiple website than select specific website.

  3. Customer Group: Select Group who can use this rules.

  4. Coupon: Select No coupon or Specific Coupon

  5. Coupon Code: if selected Specific coupon than give unique coupon code.

Cart Price Rules fill out details part-1
Cart Price Rules fill out details part-1
Cart Price Rules fill out details part-2
Cart Price Rules fill out details part-2

You can write condition for apply rules for example in cart specific category product compulsory etc.

Cart Price Rules fill out details part-3
Cart Price Rules fill out details part-3

Configure Action Section of cart price rule.

Cart Price Rules fill out details action section
Cart Price Rules fill out details action section

After that Save Cart Price Rules.

Now customer apply coupon code on cart and checkout page and they get discount according conditions of rule.

Customer Apply your cart price rules on Shopping Cart page
Customer Apply your cart price rules on Shopping Cart page

Posted in Magento, Open Source, PHP / Python

How to set custom home page in magento 2


Click here to see the video

Login in to Magento Admin

Go to Stores -> Configuration From Navigation

Go to Stores Configuration from Navigation
Go to Stores Configuration from Navigation

Go to Web Section in configuration and choose stores if your website have multiple stores.

Web Section of configuration
Web Section of configuration

In Default pages section change CMS home page from drop down box before that have to unchecked “use system value” field.

Change Cms Home page from drop down
Change Cms Home page from drop down

After that Save Configuration.

Note: Here We set Privacy and cookie policy CMS page.

Your home page set with selected CMS page. If not come than try to clear cache and check.

Home page Change to Privacy and Cookie Policy
Home page Change to Privacy and Cookie Policy

Posted in Magento, Open Source, PHP / Python

How to create custom tax rule in magento 2


Click here to see the video

Login in to Magento Admin

Go to Stores -> Taxes -> Tax Zones and Rates From Navigation

Go to Tax Zones and Rates From Navigation
Go to Tax Zones and Rates From Navigation

Add New Tax Rate from Tax Zones and Rates

Add New Tax Zones and Rates Details
Add New Tax Zones and Rates Details

Fill out below *Required fields of Tax Zones and Rates

  1. Tax Identifier: Fill out Tax Identifier name.

  2. Zip/Post Code: Fill out Specific Zip/Post Code or write * for any post code.

  3. Country: Select Country of Tax rates.

  4. Rate Percent: Fill out Rate Percentage.

Fill out details of Tax Zones and Rates
Fill out details of Tax Zones and Rates

After that Save Rates.

Now, Go to Stores -> Taxes -> Tax Rules From Navigation

Add New Tax Rule Details
Add New Tax Rule Details

Fill out below *Required fields of Tax rules

  1. Name : Fill out name of Tax Rules

  2. Tax Rate: Select already created Tax Rate or create new Tax rate by click on Add New Tax Rate and follow process from start.

Fill out Details of Tax Rule
Fill out Details of Tax Rule

 

After that Save Rule.

Now customer Have To pay Tax According Tax Rules.

Tax Rate Apply According Tax Rule
Tax Rate Apply According Tax Rule
Posted in Magento, Open Source, PHP / Python

How to enable customer email verification on registration in magento 2


Click here to see the video

Login in to Magento Admin.

Go to Stores -> Configuration form Magento Navigation

Go to Stores Configuration from Navigation
Go to Stores Configuration from Navigation

Now, Go to Customers section and click on Customer Configuration

Customer Section Customer Configuration
Customer Section Customer Configuration

Now, unchecked use system value check box and select Yes for enabled “Required Emails Confirmation”

Enable Required Emails Confirmation for customers
Enable Required Emails Confirmation for customers

After that click on Save Config

So , Finally you can see customer have to Verify Email address for registering on your stores.

When Customer Registering on stores
When Customer Registering on stores

Also , you can see customers on admin who has not verified email address.

For that go to Customers -> All Customers

and on the grid section data you can find “Confirmed email” Column.

Customers Data on Admin side
Customers Data on Admin side
Posted in Magento, Open Source, PHP / Python

How to create catalog price rule in magento 2


Click here to see the video

Login in to Magento Admin.

Go to Marketing -> Catalog Price Rule From Navigation

Go to Marketing promotion Catalog price Rule
Go to Marketing promotion Catalog price Rule

Add New Rule from Catalog Price Rules Magento Admin page.

Add new Catalog Price Rule From Magento Admin
Add new Catalog Price Rule From Magento Admin

Fill out below *Requierd fields of cart price rules

  1. Rule Name: Enter your Rule name Like Monsoon Sale , Summer sale etc

  2. Websites: If stores have multiple website than select specific website.

  3. Customer Group: Select Group who can get benefit this rules.

Catalog Price Rule fill out details part-1
Catalog Price Rule fill out details part-1
Catalog Price Rule fill out details part-2
Catalog Price Rule fill out details part-2

You can write condition and Configure Action for Catalog price rule.

After that Save and apply Catalog Price Rule and re-index your site.

Catalog Price Rule configure condition and action
Catalog Price Rule configure condition and action

finally , on Front-end catalog product price rule applied.

catalog price rule applied according conditions
catalog price rule applied according conditions