Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi all!!

 

I'm trying to customize my shopping cart with STS, everything is alright, i just have a little problem with infoboxes...

 

Ok, according to sts user manual, i just have to edit this two files to edit infoboxes appeareance:

/includes/sts_templates/TEMPLATE_NAME/boxes/infobox_header.php.html

/includes/sts_templates/TEMPLATE_NAME/boxes/infobox.php.html

 

It's supposed i'm able to write any HTML plain code.. The unique condition is to use this placeholders:

$headertext

$right_arrow

$content

 

 

This far, everything is ok.. In each file, i've created a table with the background image i want

The infoboxes are displayed nicely.

 

The problem begins when put the placeholders... STS does not display ONLY the placeholder content (text).

For example, $headertext also display the turquoise bar on top, but i don't need that bar cause the background i've created in infobox.php.html is down there.. And something similar occurs with $content.

 

The manual says i've to edit catalog/includes/boxes/categories.php to personalize $content, but it's php, i'm terribly lost... I just want to delete images and use only the text and change the font. ¿How could i do that?

 

Cheers, xD

Posted

Your over thinking it just a tad bit, the categories.php file is basically an html file with some php coding thrown in, so all you have to do is find the place holder that calls the images and get rid of it.

 

But since you are using STS, might I suggest that instead of using $headertext tag just create a template for each infobox you are going to use and instead of using $headertext use the actual name of the infobox.

Powered By osC 2.2RC2a STS 4.5.8 - HTC 2.6.3 - FP 1.5.9 - BCH 1.0.0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...