![]() |
Cafe Press
At this time this mod is not functioning correctly. Cafepress has redone their free site template and it will take a rewrite of this mod to get it to work again. Not extremely difficult, just time consuming. Unfortunately, 2 jobs, a sick kid and commercial work leaves free time few and far between nowadays. I will try and work on it when I can. If any other coder out there is interested they are free to take what I have and run with it, just like Creed posted on his original code.
This is a reworked version of the abandoned Cafe Press mod done by Creed. This add-on will allow you to add all the items from any of your Cafe Press store's or multiples if you so choose. If you have multiple stores you are going to use, make sure you separate each store name with a comma. This add-on works with Cafe Press basic store, as well as with premium stores. Two files to upload. One (optional) Template Edit. Basic Store Demo Basic Store Single Item Demo If you have at least 2.0.3 installed then only change needed is to replace the shop.php file. You do not need to reimport the product. PREMIUM OWNERS PLEASE READ!! I will not be able to officially support the shops of premium owners. The main problem is that there is no standardization on the templates available to premium users, especially in the css and notes markup which is what I count on for the script, and it's unrealistic to try and code for each one. The shop works for premium shops with the default template and no css added. A lot of the templates mess up the formatting. I will help with what I can but there is only so much I can do. When asking for help please include the following: path to your shop.php file store id template used (if possible) Version History v2.0.8 - [Tue 22th July 2008] Removed Call-time pass-by-reference Modified code to be xhtml valid (Thanks Enclave) v2.0.7 - [Fri 11th July 2008] Fixed category links v2.0.6 - [Fri 27th June 2008] Fixed link to create your own online shop v2.0.5 - [Fri 27th June 2008] Moved View Cart button to get it out of the Add to Cart form Fixed hard code from store.php to shop.php Added security for GET variable *Thanks Tim :) v2.0.4 - [Fri 27th June 2008] Removed cream background color on item view Added navbar link to go back to main shop Fixed mouseover color changes Fixed Larger Image link v2.0.3 - [Thur 26th June 2008] Changed into a VB Product Moved settings to AdminCP Added AdSense capabilities fixed bug with accessing some images on local drive instead of cafepress v2.0.1 - [Sat 14th June 2008] Changed qualification to pull in content to deal with multiple page types (shop.php File Change only, nothing else needed) v2.0.0 - [Fri 13th June 2008] Initial Release |
Looks good, i've been meaning to sell apparel on my site for some time, if im right, this will help with that through cafe press.
|
Ah I only wished that CafePress did not request a tax id
|
Will definitely check this out...
|
Quote:
|
Can you create custom shirts from the site, and then sell them through this? and where is the checkout done through?
|
Quote:
|
Oh snap... this is right up my lane. I'm going to try this out definately. If it works the way I'm thinking it will... this will probably be one of my favorite hacks.
Wait something isn't working for me. I followed the directions just fine but my items from my shop aren't displaying on my site. Any clue why this is happening? My shop name is AFCC... which I replaced "you_store_name" with on the PHP. Just not working for some reason. The site is in my sig and the link is in my NavBar. Thanks! |
Quote:
|
I believe I am in the free trial period of a premium site... could that be the issue?
|
Quote:
|
Alright thanks a lot I'll check it out now. If we can't get it to work I'll use a basic shop. This hack is worth it!
|
Quote:
It's all ready to go with your info. Just upload it to your forums folder. |
It's working! Looks like I might have to try and modify some stuff but it's showing :) Thanks a lot bro!!! If I can get this running the way I need it to I'll be sure to shoot you a small donation!
|
This is awesome, works really well, thanks, Mike.
|
Quote:
I've got a couple more things to tweak on it then I'll put out a new one. |
Hey I downgraded my account to basic so this would work good for me. Now I have a new issue but it shouldn't be much to figure out.
At the top of my shop, there is plain text that says: "### Items ### -->" At the bottom, there is plain text that says: ### end of ITEMS ### --> End Content, Start Footer Include --> Any clue where I can go to get rid of this? Thanks! |
Quote:
|
Quick question.
On my site it is displaying the high level items fine, but when I click on any of them it takes me to the Cafe Press site. Is this how it should work? |
Quote:
|
Works for 3.6.10 PL1 etc etc???
________________________________ Oh I see that doesn't need to be installed :P [just integrated ;) ] |
So do we get any commission for anything that we sell coming from our site? is there a page that shows you how much commission you get?
|
This is neat, thanks. ;)
|
Quote:
|
You can choose how much commission you want to make on each individual item when you create them on the site.
|
Any way to insert the infamous AdSense Code?
|
Quote:
|
Quote:
|
Quote:
|
No problem at all! I wouldn't trade my job for the world!
|
installed and uninstalled Didnt work so hot with moded Cafe Press CSS
www.cafepress.com/DieselBombers |
Quote:
|
Hmmm.... When I click on an item to test out the single item view I get sent directly to cafepress...
Have I done something odd? |
Quote:
|
i have uploaded the file in the right pace and edited the navbar template like you and
i get this message when i click to navbar shop Code:
CafePress.com Product Not Found Code:
-------------- SCRIPT BEGINS AFTER THIS LINE -----------------------------------------------*/ |
Great! I'm glad to have this finally working again. Wonderful job.
One question, if you have an item in your shop that is available in more colors they put an image beneath the product that says "More Colors Available." For some reason those images aren't being shown when viewing the shop.php, but once I'm at the Cafepress site they work fine (obviously). Any idea on a way to make this work? http://www.elantraxd.com/forums/shop.php |
The part in shop.php where you set the $stores variable is wrong. If you go to your shop it's pretty much
http://www.cafepress.com/your_store_name That is what you need to put there. I went to yours http://www.cafepress.com/AbsolutGr_shop and got the same error. Quote:
|
Quote:
|
Good stuff.
|
I notice the more colors image is trying to load directly from my site, rather then CafePress: http://www.cafepress.com/content/mar...morecolors.gif Any way to fix that?
|
All times are GMT. The time now is 05:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|