prestashop/welcome

此包已被废弃,不再维护。没有建议的替代包。

PrestaShop的欢迎模块,帮助用户创建产品。

安装量: 944 993

依赖者: 2

建议者: 0

安全: 0

星标: 6

关注者: 25

分支: 29

类型:prestashop-module

v6.0.9 2023-02-14 07:39 UTC

README

PHP tests JS tests Latest Stable Version Total Downloads GitHub license

关于

通过我们友好的入门流程,您将比预期更快地卖出您的第一个产品。

如何自定义入门流程

每一步都存储在config/steps.yml文件中。

在此文件中,您将找到包含步骤的组。只需遵循此微文档来创建/修改步骤

groups:                            # Only needed once

 - title: { loc: group1.title }    # The title of the group, shown on the footer.
   steps:                          # The steps list of this group.

     # Basic configuration for each step:
     - type: popup                 # The type of the step, can be 'popup' or 'tooltip'.
       title: { loc:group1.title } # The title of the step, shown on the footer.
       text:  { loc:group1.title } # The content of the step, displayed on the popup or the tooltip
       page:  'product/new'        # The page where the step is placed
       # OR : An array of pages, when the Onboarding automaticaly move to the page, the first one
       # will be selected :
       page:  ['product/new', 'product/form'] 

       # Configuration only for type = 'tooltip':
       selector: '#description' # The jQuery selector where the toolip will be located
       position: top            # The position of the tooltip around the object, can be :
                                # 'left', 'right', 'top' or 'bottom'
                                
       # Optionnal parameters:
       action:                 # Instead of just move to the next step, an action can be performed:
         selector: '#myButton' # jQuery selector where the action will be performed
         action:   'click'     # Action to perform
       options: [savepoint]    # A list of options for this step, the options can be :
                               #  - 'savepoint': If the user resume after paused, the first save
                               #      will be the last savepoint
                               #  - 'hideFooter': Hide the footer for the current step

关于本地化的说明

本地化条目位于config/localization文件夹中。每个条目都有一个键。要使用这些条目之一,只需使用{ loc: key.subkey }代替字符串(对于标题和内容)。

如果您需要复杂的内容,只需在views/contents上创建一个TWIG模板,并使用{ content: templateName }代替字符串。

报告问题

您可以在PrestaShop的主要存储库中报告此模块的问题。点击此处报告问题

贡献

PrestaShop模块是PrestaShop电子商务平台的开源扩展。每个人都可以欢迎并甚至被鼓励贡献他们自己的改进!

只需确保遵循我们的贡献指南

许可证

此模块在学术自由许可证3.0下发布