topsort/module-topsort-integration-magento2 问题修复 & 功能扩展

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

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

topsort/module-topsort-integration-magento2

Composer 安装命令:

composer require topsort/module-topsort-integration-magento2

包简介

Topsort e-commerce promotions for Magento 2

README 文档

README

Latest Stable Version License

Auction-based advertising made simple

Topsort provides auction-based native ad infrastructure and APIs for the world's top marketplaces and multi-brand retailers to monetize fast and stress-free.

This Magento 2 extension allows a Magento-based marketplace to integrate with Topsort's API hassle free.

System Requirements

  • Magento >= 2.3.7 <= to 2.4.3.
  • Composer v2

Installation

1. Install the module with Composer

composer require topsort/module-topsort-integration-magento2

2. Finish the installation by running the required magento commands:

bin/magento module:enable Topsort_Integration
bin/magento setup:upgrade

Configuration

Catalog Service API

The Catalog Service API gives Topsort access to your marketplace product catalog for the creation of advertising campaigns..

Setting up vendors

By default, Magento does not have a notion of vendor or merchant. You may use the default product attribute manufacturer or create your own attribute.

Option 1. Using the existing "manufacturer" attribute

This can be done by navigating to “Product Attributes” page (Menu → Stores → Attributes → Product), then search for the manufacturer attribute code. By filling in the attribute options you can define what vendors products can be assigned to each vendor.

Option 2. Adding a new "Vendor" attribute

By using the standard Magento functionality, we can configure a new vendor product attribute. This can be done by clicking on “Add New Attribute” under the “Product Attributes” page (Menu → Stores → Attributes → Product).

Similar to the configuration or manufacturer attribute, the new attribute should be configured as a “Drop-down” list. By configuring the attribute options you will provide the list of Vendors that will later be shared with the Topsort API.

Please, note that once the list of options is defined and your vendors already got their products and start using the system, you should not remove them from the list of vendors (the option associated with the vendor should not be removed).

Setting up Brands

Topsort Brands are configured in a very similar way to Topsort Vendors. Please, see the previous section on how to configure them. In the simplest setup the same attribute might be representing both: vendors and brands.

Activating the Catalog Service API

The Catalog Service API can be activated and configured in Magento configuration section: (Stores → Configuration → Topsort → Catalog Service APIs)

You'll need:

  • Access Token: This is a secret key you and Topsort should share to allow the connection.
  • Topsort Vendor Attribute code: This property is defining the product attribute code used to identify Topsort Vendors
  • Topsort Brand Attribute code: This property is defining the product attribute code used to identify Topsort Vendors

Configuration for Sponsored Products

The behavior of sponsored products can be configured in Magento configuration under Store → Configuration → Topsort → Sponsored Products.

You'll need:

  • Topsort API Key: API key required to authenticate with Topsort.
  • Topsort API URL: The base URL for the Topsort API endpoints.
  • Currency sub-unit multiplier: The multiplier used to convert the amount expressed in currency sub-units into its main unit (e.g. is 100 for US Dollar since 1 Dollar has 100 Cents).
  • Enabled sponsored products in catalog/search: Set to Yes in order to start running auction with sponsored products in catalog and search views of the site.
  • Amount of sponsored products to render: Specifies the maximum amount of sponsored products that might be displayed on the page.
  • Add sponsored products if amount of products greater than: You may avoid displaying sponsored products if the catalog or search result pages have too few items on it.
  • Sponsored product label text: The text for the label that will be displayed on top of sponsored products in the list of products.

Limitations

The full-page cache on category pages needs to be disabled for sponsored products to render. Promoted products will increase the number of products displayed on the first page in the product lists: in search results and on the catalog pages.

topsort/module-topsort-integration-magento2 适用场景与选型建议

topsort/module-topsort-integration-magento2 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 01 月 03 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 topsort/module-topsort-integration-magento2 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 topsort/module-topsort-integration-magento2 我们能提供哪些服务?
定制开发 / 二次开发

基于 topsort/module-topsort-integration-magento2 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: osl-3.0
  • 更新时间: 2022-01-03