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

YOU ARE HERE:
Colour Swatches!

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Colour Swatches! »
Welcome, Guest. Please Login or Register.
12/16/17 at 20:31:49
Home Help Search Login Register
   marty.net message board
   About cpshop
   Tutorials
   Colour Swatches!
(Moderator: Marty)
Pages: 1 2 3 4 » Reply Notify of replies Send the topic Print 
   Author  Topic: Colour Swatches!  (Read 14475 times)
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Colour Swatches!
« on: 04/22/07 at 20:25:00 »
Reply with quote Modify message

Hey all,

I've figured out a way to display colour swatches in the product thumbnail pages that represent the actual available colours for that product.  There's a simple version, which puts up a default swatch for each product type, (I've posted that elsewhere already) and an advanced one
that makes it possible to specify swatches for products that are not available in all colours. Your product thumbnails will look like this -- go down to the dark tees for the advanced stuff.

The simple version is extremely simple.  The advanced version is a bit labour intensive, so you don't want to be using it for dozens and dozens of products. For a moderate number of exceptions it will be useful.

This takes some 'splainin' so the tutorial's offline.

hth,

p.

PS: The most uptodate swatches I have will always be @ http://www.criticalgraphics.com/resource/Fabrics/Fabrics.zip
« Last Edit: 06/25/08 at 13:45:21 by Hex Angel - Patrick » 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
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #1 on: 05/12/07 at 20:08:28 »
Reply with quote Modify message

New swatches for latest cp additions @ http://www.criticalgraphics.com/resource/Fabrics/Fabrics.zip
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: Colour Swatches!
« Reply #2 on: 05/12/07 at 23:17:31 »
Reply with quote Modify message

Hey p -- on a totally unrelated note, if I upload a test release of a new version in the next day or two, would you be up to testing it to see if it fixes most of those bugs you'd posted earlier?  (It's also got CJ support, and a few new features.)
Logged

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

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #3 on: 05/13/07 at 02:21:35 »
Reply with quote Modify message

As much time as I can give.  

I'm working on a television series (Flash Gordon   ) which means 13+ hour days with 1.5 hrs commuting every day leaving not much time in a day for much else but sleep, hygiene and keeping up with email.  

If you can post something on Sunday -- today -- I can run through it for a few hours.  After that it will be next weekend before a sizeable chunk of time opens up.

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: Colour Swatches!
« Reply #4 on: 05/13/07 at 12:01:51 »
Reply with quote Modify message

Ah, yes, my best friend used to live that schedule.  Up at 4am, 16 hour production day, 2 hours of commuting time.  I pretty much didn't see him for weeks, even when we were roommates.

Anyway, I've uploaded cpshop2.5beta1-update-Unix.zip, if you have time to take a look at it.  (If you don't, that's okay too -- I understand how precious the day off can be.)  

I may still add a feature or two, but here are the changes as they stand so far:

2.5:
features added:
- support for CafePress Affiliate Program powered by Commission Junction
- configurable breadcrumb separators
- optional SEOing of links with designated code/encoded title text
 - use keywords
 - use specified text ("/" for example)
 - no
- option to convert product thumbnail grid to non-table (for CSS customization purposes)

issues fixed:
- very large stores sometimes suffered file contention while loading data from CafePress
- homepage sometimes-missing <tr> tag (occurred with multiple store IDs set to display in rows)
- product page hooks requiring store ID in filename
- hooks not working correctly in thumbnail grid
- cpadmin didn't expand Store IDs section when header link clicked
- $producttypeno not set when processing cached product detail pages:
 http://www.marty.net/cgi/marty/board/messageboard?board=cphelp&action=display&num=1174702133
- no cpadmin Store ID explanations for alias, keywords, etc.
- now loading should not show up for product pages
- add to cart buttons in basic shops showing up differently than those from premium shops
- add to cart pop-up code not working in basic shop product pages
- product page corners showing up on basic shop product pages
Logged

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

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #5 on: 05/13/07 at 16:30:30 »
Reply with quote Modify message


on 05/13/07 at 12:01:51, Marty wrote:
Ah, yes, my best friend used to live that schedule.  Up at 4am, 16 hour production day, 2 hours of commuting time.  I pretty much didn't see him for weeks, even when we were roommates.

Yep. Hell on relationships this industry (or even having any kind of life at all, actually.)  Living the dream, though.


Quote:
Anyway, I've uploaded cpshop2.5beta1-update-Unix.zip, if you have time to take a look at it.  (If you don't, that's okay too -- I understand how precious the day off can be.)  


Ah, took a sec to find it.  It's listed after the 2.4 versions on the download page.

My comments below in BOLD

Quote:
2.5:
features added:
- support for CafePress Affiliate Program powered by Commission Junction
- configurable breadcrumb separators
- optional SEOing of links with designated code/encoded title text nice feautre!  Wasn't working on my server but I suspect my mod_rewrites are the culprit
 - use keywords
 - use specified text ("/" for example)
 - no
- option to convert product thumbnail grid to non-table (for CSS customization purposes) another GREAT feature with many uses

issues fixed:
- very large stores sometimes suffered file contention while loading data from CafePress
- homepage sometimes-missing <tr> tag (occurred with multiple store IDs set to display in rows)
- product page hooks requiring store ID in filename Appears to be fixed
- hooks not working correctly in thumbnail grid Still having problems with this one -- hooks in thumbnail grid not being expanded.
- cpadmin didn't expand Store IDs section when header link clicked
- $producttypeno not set when processing cached product detail pages:
 http://www.marty.net/cgi/marty/board/messageboard?board=cphelp&action=display&num=1174702133 fixed
- no cpadmin Store ID explanations for alias, keywords, etc. tersely descriptive
- now loading should not show up for product pages hadn't noticed that one!
- add to cart buttons in basic shops showing up differently than those from premium shops
- add to cart pop-up code not working in basic shop product pages
- product page corners showing up on basic shop product pages
« Last Edit: 05/13/07 at 16:34:50 by Hex Angel - Patrick » 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: Colour Swatches!
« Reply #6 on: 05/13/07 at 16:47:16 »
Reply with quote Modify message

Thanks for checking it out.  

I'm still refining the SEO links.  I really wanted to find a way to add value without dramatically increasing character length.  The beta version won't be the final syntax, but it'll be similar.

And I'll double-check the thumbnail hook processing.  I thought I'd already licked that one.
Logged

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

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #7 on: 05/13/07 at 17:25:39 »
Reply with quote Modify message

See http://filmmakertees.com/cgi-bin/test.cgi/peace_signs/criticalgraphic/2747400

The thumbnail grid contains the code


Code:
<img src="/resource/FabricsII/<[hook:swatches]>"


I have test.cgi.all.swatches.txt defined and containing

Code:
default.png

and several producttypeno hooks of the form:

test.cgi.type.101.swatches.txt

which contains

Code:
type-101.png


But no joy when browsing the shop. The source shows the hook has been removed without inserting the hook text.

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
dgraebner
Green Dragon
*

Posts: 5



Go Scots!
   

Re: Colour Swatches!
« Reply #8 on: 11/27/07 at 12:42:13 »
Reply with quote Modify message



on 05/12/07 at 20:08:28, Hex_Angel wrote:
New swatches for latest cp additions @ http://www.criticalgraphics.com/resource/Fabrics/Fabrics.zip

Hex, I get a forbidden error when I go to the link. Are you still offering this zip?

Thanks!
Logged
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #9 on: 12/03/07 at 00:12:49 »
Reply with quote Modify message

Ooops.

Fixed now.

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
AmericanElephant
White Dragon
**

Posts: 19




   

WWW
Re: Colour Swatches!
« Reply #10 on: 06/25/08 at 09:38:35 »
Reply with quote Modify message

The light maternity shirt is now available in pink.  I created the swatch image for it, and am attaching it here.  Just overwrite the original type-189.png file in your fabrics directory with the one attached.



Americanelephant/type-189.png
Logged
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #11 on: 06/25/08 at 13:47:59 »
Reply with quote Modify message

I've added swatches for the latest products including infinistitch and dog bowls.

Anyone having luck with the infinistitch?
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
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #12 on: 07/20/08 at 08:03:20 »
Reply with quote Modify message

Updated swatches for latest infinistitch fabric colours @ http://www.criticalgraphics.com/resource/Fabrics/Fabrics.zip

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
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #13 on: 11/27/08 at 20:59:04 »
Reply with quote Modify message

Hey all --

I've updated the colour swatches with the new products, indcluding dark sweatshirts and hoodies, dog bowls, clocks etc. And, as always, the new swatches are @

The most uptodate swatches I have will always be @ http://www.criticalgraphics.com/resource/Fabrics/Fabrics.zip

Cheers!

Patrick.
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
Hex Angel - Patrick
Gold Dragon
****

Posts: 500



Our nature lies in movement; complete calm is death.
   

WWW
Re: Colour Swatches!
« Reply #14 on: 03/07/09 at 22:46:22 »
Reply with quote Modify message

Hey all --

I've updated the colour swatches with the new products, including fitted Dark T's and the addition of Kelly Green to the Men's Dark T.

As always, the new swatches are @

The most uptodate swatches I have will always be @ http://www.criticalgraphics.com/resource/Fabrics/Fabrics.zip
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 3 4 » 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.