View Single Post
  #2  
Old 03-15-2020, 11:24 PM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 446
 

Default Re: Custom Order Numbering

Quote:
Originally Posted by The Knotty Celt
PREMISE


QUESTIONS
  1. Where can I find clear information on the createQueryBuilder() method?
  2. Do I need to use the createQueryBuilder() method to run the query, or is there some other method?
  3. How do I structure my module directories/files to properly override this function?
For the question 1 the best I can give is

https://devs.x-cart.com/getting_started/working-with-database.html#query-builder


For the question 2, normally you can just use the appropriate getter and setter, but I am not sure.


3 It suffices to create an abstract class that extends the Order class that implements iDecorator.
__________________
X-cart 5.2.12, php 5.6
Ed from Grenoble, France
Reply With Quote