Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Display all bought orders/products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 01-19-2016, 03:22 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Question Display all bought orders/products

I would like to create a tpl file that shows all items a customer has bought.
Basically, this page shows all informations which are shown when a customer
does a search for his orders ( Order search results).

How to show these informations?
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #2  
Old 01-19-2016, 05:54 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Display all bought orders/products

The starting point for this is probably a new PHP page. Similar to orders.php, you will need a php page that performs the queries and organizes the arrays of data, then you can assign $main and display your new template that renders this data.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 01-19-2016, 06:12 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Display all bought orders/products

Or enable the Previously Ordered module (available in gold plus or platinum)
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
totaltec (01-19-2016)
  #4  
Old 01-19-2016, 09:16 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: Display all bought orders/products

Quote:
Originally Posted by PhilJ
Or enable the Previously Ordered module (available in gold plus or platinum)

I turned this on and it would work but problem is that quick_reorder.tpl has been built very simple by using the same products.tpl* and products_t.tpl* from front-end. Then these two templates* again use a ton of other underling templates.

I would just need to show image, title, rating and download button.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #5  
Old 01-19-2016, 10:18 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Display all bought orders/products

Quote:
Originally Posted by PhilJ
Or enable the Previously Ordered module (available in gold plus or platinum)
Good point! Yes, much better, at least you have a good starting point.. Then your challenge is to simply modify the templates it is using. Make your own template and point to it.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #6  
Old 01-19-2016, 11:10 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: Display all bought orders/products

Worked. Designed the page accordingly via the tpl file.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:51 AM.

   

 
X-Cart forums © 2001-2020