定制 sagoontech/magento2-price-decimal 二次开发

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

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

sagoontech/magento2-price-decimal

Composer 安装命令:

composer require sagoontech/magento2-price-decimal

包简介

Magento 2 Price Decimal, hide `.00` but show `.10`. So that $8.00 becomes $8 and $8.90 becomes $8.90

README 文档

README

This extension will allow you to remove only .00 from your frontend product prices.

Remove ".00" decimal from price in magento2

For Example,

$500.00 => $500

$19.99 => $19.99

Removes from:

  1. Catalog Page
  2. Product view page
  3. Compare page
  4. Cart page
  5. Checkout page
  6. Recently Viewed Product widget
  7. Mention if you know other places ;)

Installation

To make the integration process as easy as possible for you, we have developed various plugins for your webshop software package. This is the manual for installing the Magento® 2 Plugin. Before you start up the installation process, we recommend that you make a backup of your webshop files, as well as the database.

Installation using Composer Magento® 2 use the Composer to manage the module package and the library. Composer is a dependency manager for PHP. Composer declare the libraries your project depends on and it will manage (install/update) them for you.

Check if your server has composer installed by running the following command:

composer –v If your server doesn’t have composer installed, you can easily install it by using this manual: https://getcomposer.org/doc/00-intro.md

Step-by-step to install the Magento 2 extension through Composer:

  1. Connect to your server running Magento® 2 using SSH or other method (make sure you have access to the command line).

  2. Locate your Magento® 2 project root.

  3. Install the Magento® 2 extension through composer and wait till it's completed:

    composer require sagoontech/magento2-price-decimal

  4. Once completed run the Magento module enable command:

    bin/magento module:enable SagoonTech_Base SagoonTech_PriceDecimal

  5. After that run the Magento upgrade

    bin/magento setup:upgrade

    If Magento is running in production mode you may also need to redeploy the static content:

    bin/magento setup:static-content:deploy

  6. Now, run compilation (only if your instance is in production):

    bin/magento setup:di:compile

  7. Clear the cache

    bin/magento cache:flush

  8. After the installation: Go to your Magento admin portal and from Menu find "Sagoon Tech > Price Decimal System > Price Decimal Config" and enable it.

sagoontech/magento2-price-decimal 适用场景与选型建议

sagoontech/magento2-price-decimal 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 17.68k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2021 年 04 月 07 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 sagoontech/magento2-price-decimal 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-07