Zen Cart Logo
Forums / General Questions / modify a sidebox to become a page

modify a sidebox to become a page

Views: 1,822

Results 1 to 20 of 22
18 Dec 2010, 5:24 PM
#1
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

modify a sidebox to become a page

How would I go about modifying the sidebox

tpl_order_history.php

to become a page in its own right.

Or perhaps there is a better way.

I would like to have a page where the customer can view at a glance all the products they have purchased in the past and then click through to see the product again.

The reason for needing a dedicated page is due to the fact that many of my customers have purchased tens of different products and there are too many to display in a sidebox.

18 Dec 2010, 6:59 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: modify a sidebox to become a page

That function exists in their "my account" page

18 Dec 2010, 7:12 PM
#3
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: modify a sidebox to become a page

not on mine it doesn't

I can see view all orders, but not all ordered products on one page.

18 Dec 2010, 9:41 PM
#4
thedjphat avatar

thedjphat

Zen Follower

Join Date:
Nov 2010
Location:
Vancouver, BC
Posts:
108
Plugin Contributions:
0

Re: modify a sidebox to become a page

If using 1.3.9h there is a link to past orders in the client accounts.

18 Dec 2010, 10:11 PM
#5
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: modify a sidebox to become a page

Ahhhhh, that would be why I can't see this.

Ok thanks

18 Dec 2010, 10:48 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: modify a sidebox to become a page

not on mine it doesn't
This has been a function for as long as I can recall

18 Dec 2010, 11:06 PM
#7
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: modify a sidebox to become a page

erm, weird.

I can view past orders

Previous Orders
Date No. Ship To Status Total View

etc

but i can't at a glance see all products purchased on one page.

18 Dec 2010, 11:21 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: modify a sidebox to become a page

but i can't at a glance see all products purchased on one page.
That is not default as what is in the my account area is by order

19 Dec 2010, 10:43 AM
#9
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: modify a sidebox to become a page

So there isn't a way to view all products ordered on one page?

19 Dec 2010, 5:00 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: modify a sidebox to become a page

So there isn't a way to view all products ordered on one page?
Not in the distributed code
One would have to create this display

19 Dec 2010, 11:18 PM
#11
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: modify a sidebox to become a page

right... it shall be done...

9 Feb 2011, 5:39 AM
#12
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: modify a sidebox to become a page

Here is a screenshot of the order history list on my local test site.

22 Feb 2011, 11:44 PM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: modify a sidebox to become a page

Here is a zip of the order_history_list files - no readme; just open, change /your_template/ folders to your template name, edit the defines if desired for heading and max number of products to display, change styling if desired and ftp to the root of your store.

23 Feb 2011, 7:52 PM
#14
digitalshadow avatar

digitalshadow

Totally Zenned

Join Date:
Mar 2009
Posts:
616
Plugin Contributions:
0

Re: modify a sidebox to become a page

Thankyou, here it is on my site with a few adjustments...

23 Feb 2011, 8:50 PM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: modify a sidebox to become a page

Looking good!

6 Mar 2012, 4:31 PM
#16
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: modify a sidebox to become a page

Great module, thanks for posting this Glen!

I would like to add a quantity box to each product and an "add selected products to cart" button at the top and bottom of the page. Can you point me in the right direction?

Thanks,

Anne

6 Mar 2012, 4:36 PM
#17
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: modify a sidebox to become a page

Without going back and examining the code, I would say that having qty/add inputs would require creating a form in the code. The existing mod is strictly output, with no form input elements. You could probably work from the product listing page code (or some sideboxes' code) for the form creation.

I seem to recall something about a "quick reorder" mod somewhere...

6 Mar 2012, 5:10 PM
#18
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: modify a sidebox to become a page

gjh42:

Without going back and examining the code, I would say that having qty/add inputs would require creating a form in the code. The existing mod is strictly output, with no form input elements. You could probably work from the product listing page code (or some sideboxes' code) for the form creation.

I seem to recall something about a "quick reorder" mod somewhere...

Thanks Glen :-)

I tried the quick reorder module but it doesn't seem to be working. I tried to install it on version 1.5.

Thanks,

Anne

6 Mar 2012, 5:36 PM
#19
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: modify a sidebox to become a page

I don't know offhand whether that mod has files that were changed in v1.5.0, or admin configuration SQL that needs to be modified to work in v1.5.0 (or both). Maybe it has a support thread with some info. I would probably look at the product listing or another stock location with add to cart functionality for a starting point.

6 Mar 2012, 6:21 PM
#20
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: modify a sidebox to become a page

gjh42:

I don't know offhand whether that mod has files that were changed in v1.5.0, or admin configuration SQL that needs to be modified to work in v1.5.0 (or both). Maybe it has a support thread with some info. I would probably look at the product listing or another stock location with add to cart functionality for a starting point.

The problem is definitely not the admin configuration. I have tried to find some support for the module but haven't had any luck.

I'll give the customization a try :-)

Thanks,

Anne