定制 rapidez/amasty-custom-form 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rapidez/amasty-custom-form

最新稳定版本:4.0.0

Composer 安装命令:

composer require rapidez/amasty-custom-form

包简介

README 文档

README

Requirements

You need to have the Amasty Custom Form module installed and configured within your Magento 2 installation. Including the graphql module.

Installation

composer require rapidez/amasty-custom-form

Showing a Form

You can show a form by loading the amasty-custom-form form component:

<x-amasty-custom-form::form :formId="$form_id"/>

the form id is the id that is in the database, not the code.

Getting the form id by code

If you want to render the form by code instead of id you can do so by getting it from the database

$form = \Rapidez\AmastyCustomForm\Models\AmastyCustomForm::select('form_id')->where('code', <form code>)->first();
...
<x-amasty-custom-form::form :formId="$form->form_id"/>

Views

If you need to change the views you can publish them with:

php artisan vendor:publish --provider="Rapidez\AmastyCustomForm\AmastyCustomFormServiceProvider" --tag=views

Note

Not all features are implemented yet! For example the review start & file upload aren't supported.

License

GNU General Public License v3. Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 3
  • 开发语言: Blade

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-04-26