Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you call the "What's new" box from outside


ecroskey

Recommended Posts

Just did this myself...you can call any boxes like this

 

<?php include(DIR_WS_BOXES . 'whats_new.php'); ?>

 

or replace whats new with whatever box you want. I dont know if I am right on using include or require I am reading up on php now to find out. Look at mine..although its a mess now I am just moving boxes. So check back in a few days to see how it comes together. My Webpage

 

I am goint to have a row not stacked but you get the picture.

The Wiki Docs: Read them, live them and be thankful for them!

Link to comment
Share on other sites

Trendy, that's still inside the cart though. How would I link to the box from outside the cart? I have one page that I want to run the "What's New" promotion from that exists on a different web site, so really the question is, how do you link to tsomething that exist in one site from a different site.

 

Thanks,

Eric

Link to comment
Share on other sites

I would guess that what you really want to do is to have the info that you are after called into an html page outside of the os catalog?

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Well if you want it out of your shopping cart edit it out of the catalog/includes/colum_right.php. The code I gave you is for inside your site. I am not at my computer right now so I dont have my html editor but if you want to link it to another site I think there is an "include" call in html. I will look tonight when I get home if you dont figure it out.

The Wiki Docs: Read them, live them and be thankful for them!

Link to comment
Share on other sites

  • 2 weeks later...
Just wondering if anyone has had a chance to come up with a solution for this yet?

 

Eric

http://www.oscommerce.com/community/contributions,295

 

Is there what your looking for??

 

Thomas

A signature is something that reflects its user. - The dictionary

 

The question is not, 'to code, or not to code'

the question is, 'if we do not code, are we really alive?'

-- anonymous

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...