Get the book

Go Back   Zen Cart Support > Setting Up Your Zen Cart Products > Setting Up Categories, Products, Attributes

Setting Up Categories, Products, Attributes Topics about setting up your products and categorizing them, assigning attributes, and building product types.

Reply
 
Thread Tools Display Modes
Old 5th July 2006, 04:06 AM   #1
Rowan
Zen Follower
 
Rowan's Avatar
 
Join Date: May 2006
Location: Australia
Posts: 110
Default PHP includes to save time?

I have a few products that share a particular body of text and I'd rather not copy+paste it each and every time. Is it possible to use a simple PHP include in the description, or is there another way to achieve this?

I haven't tried simply using PHP in the description, would this work?
__________________
www.rowanw.com
Rowan is offline   Reply With Quote
Old 9th July 2006, 05:33 PM   #2
DrByte
Sensei
 
DrByte's Avatar
 
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 44,123
Default Re: PHP includes to save time?

embedded PHP is not supported at the present time

as an alternative (depending on its suitability), perhaps you might embed an A HREF link to an HTML page where you have additional info
__________________
Zen Cart - putting the dream of business ownership within reach of anyone!
DrByte is offline   Reply With Quote
Old 10th July 2006, 02:17 AM   #3
Rowan
Zen Follower
 
Rowan's Avatar
 
Join Date: May 2006
Location: Australia
Posts: 110
Default Re: PHP includes to save time?

Thanks for clearing that up, this would be a great feature to have in the future though.

I don't think I'll include a link to another page in this case.
__________________
www.rowanw.com
Rowan is offline   Reply With Quote
Old 30th July 2006, 06:23 PM   #4
swguy
Totally Zenned
 
swguy's Avatar
 
Join Date: Feb 2006
Location: Tampa Bay, Florida
Posts: 3,158
Default Re: PHP includes to save time?

You can indeed do this. The process is described on

http://www.thatsoftwareguy.com/zenca...scription.html

Good luck,
Scott
__________________
Scott C Wilson That Software Guy - The Duke of Discounting.
Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
Please note that the forum is free, but PMs and emails are treated as quote requests.
swguy is offline   Reply With Quote
Old 30th July 2006, 08:44 PM   #5
superprg
Totally Zenned
 
superprg's Avatar
 
Join Date: Feb 2006
Location: Chicago
Posts: 1,146
Default Re: PHP includes to save time?

Quote:
Originally Posted by swguy
You can indeed do this. The process is described on

http://www.thatsoftwareguy.com/zenca...scription.html

Good luck,
Scott
Thats really a great link!
Thanks
superprg is offline   Reply With Quote
Old 31st July 2006, 12:29 AM   #6
Rowan
Zen Follower
 
Rowan's Avatar
 
Join Date: May 2006
Location: Australia
Posts: 110
Default Re: PHP includes to save time?

Quote:
Originally Posted by swguy
You can indeed do this. The process is described on

http://www.thatsoftwareguy.com/zenca...scription.html

Good luck,
Scott
Thanks heaps for that, this will help a lot.
__________________
www.rowanw.com
Rowan is offline   Reply With Quote
Old 25th May 2008, 02:13 PM   #7
anniti
New Zenner
 
Join Date: May 2008
Posts: 34
Default Re: PHP includes to save time?

The "Boilerplate text Adding"- feature is exactly what I need and works fine in the Product details page, but
what file should I edit to display the Description in the index page or in any of the other lists (Product Listing, New Listing, Featured Listing, All Listing) pages
Regards, anna
anniti is offline   Reply With Quote
Old 25th May 2008, 02:17 PM   #8
misty
Totally Zenned
 
misty's Avatar
 
Join Date: Apr 2004
Location: UK
Posts: 5,544
Default Re: PHP includes to save time?

Quote:
Originally Posted by anniti View Post
The "Boilerplate text Adding"- feature is exactly what I need and works fine in the Product details page, but
what file should I edit to display the Description in the index page or in any of the other lists (Product Listing, New Listing, Featured Listing, All Listing) pages
Regards, anna
http://www.zen-cart.com/forum/showpo...05&postcount=8
Thread above should help.. code varies dependant on where you
require description to show.
__________________
Dezina Zen Templates
Please do not PM for support queries..Post in forums..help others
misty is offline   Reply With Quote
Old 25th May 2008, 02:23 PM   #9
swguy
Totally Zenned
 
swguy's Avatar
 
Join Date: Feb 2006
Location: Tampa Bay, Florida
Posts: 3,158
Default Re: PHP includes to save time?

Anniti, I'll update my documentation too to add these instructions.
__________________
Scott C Wilson That Software Guy - The Duke of Discounting.
Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
Please note that the forum is free, but PMs and emails are treated as quote requests.
swguy is offline   Reply With Quote
Old 26th May 2008, 07:57 AM   #10
anniti
New Zenner
 
Join Date: May 2008
Posts: 34
Default Re: PHP includes to save time?

thank you both for your very (very!) fast reply.
Of course an instructions-update by SWGuy would be highly appreciated, but in the meantime I'll insist on my quest.
thanks, anna
anniti is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Users Login, But Says Expired randyb Basic Configuration 50 19th June 2006 05:47 PM


All times are GMT +1. The time now is 03:07 PM.

Learn tips, tricks & secrets for your Zen Cart™
Sign up for our FREE Newsletter

Powered by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content and Graphics Copyright (c) 2006, 2007, 2008, 2009, 2010 Zen Ventures, LLC - all rights reserved
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads