Entries by admin

How To Get Base, Media, Link Url In Magento2

How To Get Base, Media, Link Url In Magento2 To get the base URL, media URL, and link URL in Magento 2, you can use Magento’s built-in functions to retrieve these URLs programmatically. To get the base URL, use the following code: $baseUrl = $this->_url->getBaseUrl(); For the media URL, which points to the media directory […]

How to Enable Template Path Hints in Magento 2

How to Enable Template Path Hints in Magento 2: Go to Magento 2 admin panel and login with your credentials. Go to Stores –> Configuration. Select Developer option from the Advanced tab at the end. Open Debug dropdown and set Enabled Template Path Hints for Storefront to yes. Click to Save Config.

How to Change Magento 2 Logo

Here are the steps that you will follow to change Logo in Magento 2 Go to your Magento 2 admin. Go to STORES > Configuration > Design > Header Click Choose file and select your logo Click Save Config

Get page id in wordpress

Here is the tips for getting page id in wordpress. First of all I will show page id in admin area. Go to the pages and clcik on that, then you can see all pages list. Look the below screenhsot. After then click on the desired page and you can see the page id on […]

Static blocks not working – Magento 1.9.x

After updating Magento to version 1.9.x, or installing security patch SUPEE-6788 on an older version, lots of people are noticing that their static block shortcodes are no longer working. So may be some developers frustrated or confused why this happen. The solution is simple magento people added security feature on the newer version. Simply navigate […]

Burger menu not working on ipad/tablet in wordpress

Burger menu not working on ipad/tablet in wordpress If you are working with wordpress enfold theme then may be you get the issue of menu on the tablet/ipad in landscape mode. Them menu does not appears as a burger so try this media query, may be it will help : @media only screen and (max-width: […]

How to change sign-up fee text in WooCommerce Subscriptions

How to change sign-up fee text in WooCommerce Subscriptions Try this: function change_subscription_product_string( $subscription_string, $product, $include ) { if( $include[‘sign_up_fee’] ){ $subscription_string = str_replace(‘sign-up fee’, ‘your text’, $subscription_string); } return $subscription_string; } add_filter( ‘woocommerce_subscriptions_product_price_string’, ‘change_subscription_product_string’, 10, 3 );

lessphp fatal error: load error! help in wordpress

If you’re encountering the LessPHP Fatal Error: Load Error! in WordPress, it typically means there is an issue with the LessPHP compiler failing to load a required file. This error is common in themes or plugins that use Less (a CSS preprocessor) to generate stylesheets dynamically. To resolve the issue, try the following steps: 1. […]

Magento – Show Inventory Levels on Product Pages

Today I will show you how we can add Quantity on hand information on the product detail page.Normal Magento shows ‘Availability-In Stock’ by default. We need to change that Qty on hand like the below image For this you need to do the below steps : Go to app/design/frontend/base/default/template/catalog/product/view/type/default.phtml. Get a copy of that file […]

How to change the Magento Admin URL

Here is a quick guide on how to change admin url path in Magento. To protect your Magento backend against hackers and brute-force attacks, we recommend that you change the default URL to the Magento Admin Panel is must. It is a quick and easy way to add an extra layer of security to your […]