Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to make a new page and link it in infobox


cmbyrne

Recommended Posts

I would like to add a "purchase info" page with some things they need to know before they purchase, such as no more than 4 of any item, only verified paypal buyers etc...

 

What do i need to do in order to make a new page? And what do i need to do to link it to my information infobox?

 

Thanks!

Christina

Link to comment
Share on other sites

there is an additonal info page contrib - or just copy an existing page and use that.

 

well i figured it out, but that post wasn't very useful.... Most beginners don't know what files to copy, i had to edit 3 to make the page.

-copy english/somepage.php and rename

-copy catalog/somepage.php and rename

-add the newpage.php to catalog/includes/filenames.php

 

now how do i make a link to it in the infobox?

 

Christina

Link to comment
Share on other sites

I would like to add a "purchase info" page with some things they need to know before they purchase, such as no more than 4 of any item, only verified paypal buyers etc...

 

What do i need to do in order to make a new page? And what do i need to do to link it to my information infobox?

 

Thanks!

Christina

 

 

Try this contrib: More pages Info Box page

 

I just installed and it works great. Will create new info box and you can create as many pages as you wish on the fly thru admin Page Manager. Automitically creates a link in the box for each page you create!

Life should be completed with you skidding in sideways

all worn out screaming "Holy Crap..What A Ride"

www.studio143vr.com

Link to comment
Share on other sites

well i figured it out, but that post wasn't very useful.... Most beginners don't know

 

sorry I didn't give you link - thot you'd know how to use the search feature.

Your online success is Paramount.

Link to comment
Share on other sites

It is not a new infobox - it replaces the existing one and gives capacity to add as many pages as you want dynamically - without having to create three pages each time.

Your online success is Paramount.

Link to comment
Share on other sites

It is not a new infobox - it replaces the existing one and gives capacity to add as many pages as you want dynamically - without having to create three pages each time.

 

well, i've already created the page, i would just like to know how to add it into the information infobox...

 

i went to includes/boxes/information.php and copied the code for one of the other links and renamed it, but i keep getting this error

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /hsphere/local/home/cmbyrne/mtgo.byrnesccgshop.com/catalog/includes/boxes/information.php on line 27

Link to comment
Share on other sites

wow, does it feel good to figure out something by yourself :P

 

there was a missing "." in inludes/boxes/information.php

i had:

(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>'
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? '<a href="' . tep_href_link(FILENAME_PURCHASEINFO) . '">' . BOX_INFORMATION_PURCHASE . '</a>');

 

when it needed to be:

(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a><br>' .
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? '<a href="' . tep_href_link(FILENAME_PURCHASEINFO) . '">' . BOX_INFORMATION_PURCHASE . '</a>');

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...