mage2pro/logo 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mage2pro/logo

Composer 安装命令:

composer require mage2pro/logo

包简介

A product logotype chooser for Magento 2

关键字:

README 文档

README

A product logotype chooser for Magento 2.

How to install

composer require mage2pro/logo:*
bin/magento setup:upgrade
rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US <additional locales, e.g.: de_DE>
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile

If you have some problems while executing these commands, then check the detailed instruction.

Frontend

Backend

You can set logotypes for a product in the «Customizable Options» section of the product's backend page.
If you use configurable products, then set logotypes for the parent product only, not for children.

To control the logotypes appearance you should create 3 product attributes with the following codes:

  • dfe_logo_offset_left
  • dfe_logo_offset_top
  • dfe_logo_scale

These attributes should be text fields:

You should add these attributes to your attribute set:

Then the attributes will be should on your backend product page.
The dfe_logo_offset_left and dfe_logo_offset_top attributes specify the chosen logotype's offset (in percent) relative the top left corner of the main product image. E.g. of the both values has the 50 value, the logotype will be placed in the center of the main product image.
The dfe_logo_scale attibutes specifies the scale factor (in percent) of the chosen logotype. E.g. the 40 value means that the chosen logotype will have 40% of its initial size.

统计信息

  • 总下载量: 35
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-03-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固