Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Display Stock Column When Adding New Order From Backend Rate Topic   - - - - -

 
  • asereje
  • Newbie
  • Trial users
  • Join Date: 13-Jun 18
  • 2 posts

Posted 13 June 2018 - 07:40 AM #1

Hello!

   I want to display stock column, in table formed when adding new order from backend - please check the attached print screen.

 

   What files / functions are used when extracting and passing information to browser page (or template?!) to add new product line (with Product, Price, Quantity fileds)?

  I've noticed XHR POST request when click on a product line in search box list results, for example to

    https://domain.com//...9787][amount]=1

  but, as I understand, this is only for add product to cart, and maybe JavaScript is used to "display" info in page browser.

 

  It would be enough to indicate me files / functions where to look and add my code, and some brief indications. No problem if core files modifications needed...

 

  Many thanks!

Attached Files



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 17827 posts

Posted 13 June 2018 - 01:25 PM #2

Templates of order management are located here:

 

design/backend/templates/views/order_management

 

Controller:

 

app/controllers/backend/order_management.php

 

Main amount of functions:

 

app/functions/fn.cart.php


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.