marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
All Tags

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « All Tags »
Welcome, Guest. Please Login or Register.
12/14/17 at 22:26:11
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   All Tags
(Moderator: Marty)
Pages: 1 2 » Reply Notify of replies Send the topic Print 
   Author  Topic: All Tags  (Read 32174 times)
Nathan
Guest

E-Mail
All Tags
« on: 03/27/03 at 12:17:01 »
Reply with quote Modify message

Is there a listing of all the data tags for CPShop, such as <[content]>?  I know there are some that are not listed in the installation FAQ since I can see them in the admin screen!

nathan
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: All Tags
« Reply #1 on: 03/27/03 at 23:40:36 »
Reply with quote Modify message

I think this is all of them.

Template Tags:
<[content]> - The main cpshop content.
<[title]> - The title of the current page.
<[breadcrumb]> - Breadcrumb navigation link trail.
<[prev]> - "Previous" text (as set on admin screen), linked to previous item in store.
<[next]> - "Next" text (as set on admin screen), linked to previous item in store.
<[prevname]> - Linked name of previous product in store.
<[nextname]> - Linked name of next product in store.
<[storeid]> - Store ID for current store.
<[productnumber]> - storeid.productnumber of current product (product page only).
<[productno]> - Product number only of current product (product page only).
<[productname]> - Product name of current product (product page only).
<[productcost]> - The price of the product (product page only).
<[storename]>      - Name of current store.
<[cpshop]> - URL of script.
<[cart]> - "View Cart" link.
<[alias]> - Current store ID alias.
<[keywords]> - Keywords for current store.
<[description]> - Description of current store.

Thumbnail Cell Template Tags:
<[linkstarts]> - Opening <a> tag for link to product.
<[linkends]> - </a> tag.
<[thumbnail]> - Thumbnail image for section/product.                              
<[thumbsrc]> - URL of thumbnail image for section/product
<[storename]> - Name of current store.
<[storeid]> Store ID of current store.
<[costconvert]> - Adds a link to a currency conversion page
<[teaser]> - Inserts the section teaser below the section thumbnail title
<[parentsectionno]> - The section number in which the current product/section resides
<[alias]> - The current store ID entry alias (or CRC number if no alias was entered)
<[productypeno]> - The product type number of the product (for product thumbnails only)
<[productstoreid]> - The store ID of the product (for product thumbnails only)
<[productnumber]> - storeid.productnumber of the product (for product thumbnails only)
<[productno]> - The product number of the product (for product thumbnails only)
<[producttext]>  - The product description (for product thumbnails only)
<[sectionstoreid]> - The store ID of the section (for section thumbnails only)
« Last Edit: 05/26/07 at 11:30:19 by Marty » Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
Nathan Rudy
Guest

E-Mail
Re: All Tags
« Reply #2 on: 07/30/03 at 11:42:30 »
Reply with quote Modify message

I'd like to suggest a tag for those of us using Premium Shops

<[section]>

This would be the section name we are in, so that you can have that as your title or in the page somewhere without having it look like breadcrumbs.
Logged
Tony
Guest

E-Mail
Re: All Tags
« Reply #3 on: 10/29/04 at 06:28:31 »
Reply with quote Modify message

We should sticky this topic
Logged
Tony
Gold Dragon
****

Gender: male
Posts: 85



Hello?  Where am I?
   

WWW
Re: All Tags
« Reply #4 on: 12/03/04 at 15:33:58 »
Reply with quote Modify message

Besides product name and number, is there a chance to have tags for each of the items on the product pages?  Like <[cpproddescription]>, <[proddescription]>, <prodthumbnails]>, <[extrapics[>, or something like this?  I was hoping to really customize the product page template.  I know the admin page lets you customize some of it, like having images in 2x2 and so on, but was wondering if I could put them in places I wanted to.  

If not, I'll add it to a feature request list  
Logged

----------------
http://www.astphotos.com
brattytees
Gold Dragon
****

Posts: 439



ack!
   

Re: All Tags
« Reply #5 on: 10/24/05 at 07:52:49 »
Reply with quote Modify message

I agree 110% with Tony's request above. All we can really seem to do is dump the CP output via the Content tag. It would be really, really, really nice to be able to put individual things where we would like.

BTW, is there an update to the above posted tags from 2003, or is that it?
Logged
Simon
Gold Dragon
****

Gender: male
Posts: 51



Go Scots!
   

WWW
Re: All Tags
« Reply #6 on: 02/09/06 at 12:19:23 »
Reply with quote Modify message

Look at the bottom of Martys post, it currently reads:

Last Edit: 31.01.2006 at 07:37:25 by Marty


which means the list is very much up to date at the time I'm writing this...

Besides, I like Tonys idea of being able to make our own product page by haveing tags for everything!

Simon
Logged

Byholm - Casual Clothing and Gifts
Photos from Finland
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: All Tags
« Reply #7 on: 02/09/06 at 12:50:35 »
Reply with quote Modify message

The product page is much more complicated to configure than thumbnail pages, because the elements are constantly changing, and they all have different content (sizes, colors, stamp values, etc.).

For now, the ability to customize them is highly limited.  If I can think of a way to make it less so, I'll implement it.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
Simon
Gold Dragon
****

Gender: male
Posts: 51



Go Scots!
   

WWW
Re: All Tags
« Reply #8 on: 02/10/06 at 04:46:29 »
Reply with quote Modify message

I realize it could be more work than I'm actually willing to take on, to have to update that product page if CafePress chages option, which make cpshop update the interface, which in turn will force me to do some instant tweaking to keep the website running.

It's really great to have you do all the updating for us Marty.

I think one way to do the templated product page is to have a separate tag for size selector, color selector, stamp value selector, printing method and all other selectables.

We would put all those tags into the template and then if that option is not selectable for a product it would simply be left out.

Alternatively there could be the option to have a separate template for different product categories, or even separate for every product type for those that have enough time to maintain that.

Ok, I'm not in a hurry to get these changes, so don't feel any pressure. I will have a lot to do in our greenhouse until August.

Simon
Logged

Byholm - Casual Clothing and Gifts
Photos from Finland
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: All Tags
« Reply #9 on: 01/23/07 at 21:57:11 »
Reply with quote Modify message

Hey Marty,

Ya missed one in the list.

<[producttext]>
Product Thumbnails only: contains the product description text.

Cheers,

p.
Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
brickholius
Silver Dragon
***

Posts: 42



Go Scots!
   

E-Mail
Re: All Tags
« Reply #10 on: 01/29/07 at 14:04:04 »
Reply with quote Modify message

What about title without breadcrumbs. I have <[title]> that shows the breadcrumbs but how can i show title on the page of just the section without the breadcrumbs as a section header?

brick
Logged
mayur
Silver Dragon
***

Gender: male
Posts: 31




   

WWW E-Mail
Re: All Tags
« Reply #11 on: 03/22/07 at 12:45:04 »
Reply with quote Modify message

You missed one:

<[productcost]> - Product cost (doi!) on thumbnail page
Logged

http://desirage.com/
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: All Tags
« Reply #12 on: 10/14/07 at 20:50:44 »
Reply with quote Modify message

<[parentsectionno]>

What's the possibility of getting this tag to work for product detail pages?

p.
Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: All Tags
« Reply #13 on: 10/15/07 at 01:38:15 »
Reply with quote Modify message

What would it refer to?  The product's parent section number, or the product's parent section's parent section number?
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: All Tags
« Reply #14 on: 10/15/07 at 02:26:33 »
Reply with quote Modify message

<grin> Yeah that could get loopy.

Let's keep it simple (no grand parents

As per the product page breadcrumb, the section containing its thumbnail.

That wouldn't quite get me what I want in all situations, but neither will anything else, I think, and at least this one gives the local parent.

p.
Logged

CPSHOP
www.PeaceAndLoveShop.com Namaste
BLOG
www.TheNomadicSpirit.com Inspired by travel
www.GodBeautyPerfectionLove.com Inspired by spirit
www.MyMuseMoviesMusicAndBooks.com Inspired by the arts
Pages: 1 2 » Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.