Author Topic: Fabric sales (decimal calculation)  (Read 3908 times)

Offline HADY

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: +27/-5
    • View Profile
Fabric sales (decimal calculation)
« on: August 21, 2021, 06:05:39 AM »
Hello,

I wanna share my experience about how to make the quantity of fabrics been calculated with decimal quantities and in the same time how to make changes on the product's price from website admin panel.



1. you will need to open next path: (/public_html/admin/view/default/template/pages/sale/order_details.tpl) and place this code:


2. you will need to open next path: /public_html/admin/model/sale/order.php) and place this code:


3. you will need to go to your database on phpMyAdmin and locate related tables and columns and check the value of TYPE of product and price and change them to (decimal15.4)


Sorry if i missed something to mention.



Good Luck...
Thank you In Advanced
Regards
HADY

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Fabric sales (decimal calculation)
« Reply #1 on: August 22, 2021, 11:00:32 PM »
Thank HADY for sharing.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod