Zen Cart Logo
Forums / General Questions / adding text to a single product page

adding text to a single product page

Locked

Views: 1,179

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
14 Apr 2010, 3:51 PM
#1
glennnphp avatar

glennnphp

New Zenner

Join Date:
Apr 2008
Posts:
24
Plugin Contributions:
0

adding text to a single product page

i'm using 1.3.8.

i just want to add "coming soon" or something to a SINGLE product page. it's been awhile since i've worked with ZC much... (i've searched)

thanks!

14 Apr 2010, 4:48 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: adding text to a single product page

For a single product page, the easiest way would be to add the text to the end of the description, wrapped in HTML tags so it can be styled appropriately.

Texttexttext... <span class="comingSoonBlurb">Coming Soon!</span>

Add to your stylesheet

.comingSoonBlurb {
    font-size: 2.5em;
    color: #ff3366;
    position: absolute;
    top: 123px;
    left: 456px;
    }
```Adjust properties and position as desired.
14 Apr 2010, 4:55 PM
#3
glennnphp avatar

glennnphp

New Zenner

Join Date:
Apr 2008
Posts:
24
Plugin Contributions:
0

Re: adding text to a single product page

good enough - i just didn't know if there was an alternate way to edit a single product page, say using php if()...

thanks

14 Apr 2010, 5:47 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: adding text to a single product page

glennnphp:

good enough - i just didn't know if there was an alternate way to edit a single product page, say using php if()...

thanks

No need to crack nuts with jackhammers... As Glenn says, just add it to that product's description.

20 years a Zencart User