定制 ammazza/webar 二次开发

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

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

ammazza/webar

最新稳定版本:v1.0.1

Composer 安装命令:

composer require ammazza/webar

包简介

Virtual Try on Jewellery for laravel e-commerce solutions

README 文档

README

Logo

Introduction

  • AMMAZZA is an out-of-box multi-utility product in the market of jewellery with the fusion of AR (Augmented Reality) + AI (Artificial Intelligence) + BI (Business Intelligence).
  • By integrating Virtual Try-On feature, customers can try jewellery from anywhere anytime.
  • Virtual Try-On is available for Facial and Hand jewelleries like Earrings, Necklace, Sets, Rings, Bracelets.

Prerequisites

ammazza-webAR-laravel

Incorporate the ammazza-webar-laravel plugin in any of the laravel project

Step 1 : Install package using below command in project root terminal

composer require ammazza/webar

Step 2 : Publish assets for ammaza plugin by running below command

php artisan vendor:publish --tag=public --force

Step 3 : Add client id in your project .env file (Refer Prerequisites to get client id)

AMMAZZA_CLINET_ID=YourClientId

Don't forget to run clear cache after changes in env file

php artisan optimize:clear

Step 4: Now add ammaza script and style to your view/blade file where you want to add tryon button

<link rel="stylesheet" href="{{ asset('css/ammaza-tryon-style.css') }} "/>
<script src="{{ asset('js/ammaza-tryon-scripts.js') }} "></script>

Step 5: Add try on button using below code in view or controller

{!! app('trynow')::getTryOn()!!}

By default it will load all the products for the client id. If you want to show custom products pass product id as below

{!! app('trynow')::getTryOn("YourProductId")!!}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-05-22