在Magento 2 模板phtml添加Form Key

Magento 2021-08-11 08:25:30 4482

Form keys in Magento are a means of preventing against Cross Site Request Forgery, i,e, it is to keep your site safe from people trying to post to your forms from other sites posing as you. This blog is to show how to generate form key to use in phtml fil

Magento 2 category home page not show products list

Magento 2020-11-11 12:09:32 5442

Magento 2 category home page not show products, but in backend we can see there are some products under the category.

Bitnami Magento2 .2.x安装Redis并且配置使用Redis

Magento 2020-09-15 15:06:06 6195

magento 2.2.x 安装并使用Redis来优化网站加载速度

bitnami magento 2 Allowed memory size of 4294967296 bytes exhausted (tried to allocate 20480 bytes)

Magento 2020-09-02 23:01:00 5022

bitnami magento 2 indexer shows error Allowed memory size 4294967296 bytes exhausted (tried to allocate 20480 bytes)

Bitnami Magento 2 "Invalid Form Key. Please refresh the page"

Magento 2020-06-11 17:38:25 6195

Bitnami Magento 2 shows "Invalid Form Key. Please refresh the page" in backend form page

Magento 2 一些库存状态的一些疑问与异同

Magento 2020-04-28 00:59:21 5257

magento2调用不同库存方法的含义

Bitnami Magento 2 安装演示数据

Magento 2020-03-22 21:24:25 6418

Magento 2 install sample data is slowly, is there another way to install sample data ?

How to get products collection by category id in custom module

Magento 2019-12-19 23:45:53 6516

Get products collection by category id in custom page.

magento 2 add company column to sale order invoice grid in backend

Magento 2019-12-13 00:57:30 8076

How to add company column of billing address to order invoice grid in module ?

How to create custom module in magento 2___Magento 2 development ___001

Magento 2019-11-13 19:54:08 6165

magento 2怎么创建自定义模块

<div id="layui-table-page1"> <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-19"> <a href="javascript:;" class="layui-laypage-prev layui-disabled" data-page="12"><i class="layui-icon"></i></a> <span class="layui-laypage-curr"><em class="layui-laypage-em"></em><em>1</em></span> <a href="https://www.tonyblog.cn/category/6?page=2">2</a> <a href="https://www.tonyblog.cn/category/6?page=3">3</a> <a href="https://www.tonyblog.cn/category/6?page=4">4</a> <a href="https://www.tonyblog.cn/category/6?page=2" class="layui-laypage-next"><i class="layui-icon"></i></a> <span class="layui-laypage-skip"> <form method="get" class="layui-laypage-skip" action=""> //拿到所有参数,重构表单 //添加两个查询条件 跳到第<input name="page" type="number" min="1" value="1" class="layui-input">页 每页<input name="limit" type="number" min="1" value="10" class="layui-input">条 <button type="submit" class="layui-laypage-btn">确定</button> </form> </span> <span class="layui-laypage-count">共 40 条</span> </div> </div>