If you're new to the CafePress Community Forums, be sure to read our Forum Guidelines before you post anything.

    Community Forums: Home    CafePress Community Forums  Hop To Forum Categories  General Help & Sharing  Hop To Forums  Shop Customization & HTML    Merging two shops' sidebars
Page 1 2 3 
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Moderator
Picture of Teesed
Posted Hide Post
If you've selected a shop template, just do a ctrl-f and search for "cpstore:sidebar" and see if you find it there. If not, then you're probably using the "Show Sidebar" checkbox. In that case, you wouldn't have the "cpstore:sidebar" in your template contents. You'll need to fix that and put it in your template in order to use this script.
 
Reply With QuoteEdit or Delete MessageReport This Post
Picture of FireFoxxy
Posted Hide Post
The script works great (thanx), but is there also a way to merge the main product icons as well? I have shop A and B and have merged the two for the sidebar but is there also a way to merge the CP icons that show each area of products on the main page of the shop so that it represents both shops like the sidebar now does?
Also, is there anyway to utilize this sidebar organization into an all in one off site shop? I'm using cpshop but it is limited on how you can have the order of the sidebar. Same for the main page product icons, if there is a way to change that as well.

Thanks again,
Marcia

This message has been edited. Last edited by: FireFoxxy,
 
Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of Teesed
Posted Hide Post
No way I can think of to do that. It can happen for the sidebars because it shows on every page. With the front page icons, the same approach would make your front page show on every page - probably not an optimal layout. Wink

I have no idea if it can be used for CPShop, sorry!
 
Reply With QuoteEdit or Delete MessageReport This Post
Merchandise - CafePressVoice
Picture of Riyah-Li Designs
Posted Hide Post
I'm trying to use this code to merge these two shops and I can not for the life of me figure out what I'm doing wrong. I have completed all steps and it's still not working. Please can some one look at my page code and tell me what I've done wrong...I'm two steps away from a nervous breakdown. Thank you!

http://www.cafepress.com/riyahlidesigns (Shop A)
http://www.cafepress.com/riyahlidesigns2 (Shop B)


Riyah-Li Designs ...Catering to the unique in you!
 
Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of Teesed
Posted Hide Post
Looking at it now...
 
Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of Teesed
Posted Hide Post
In the code where it says
...www.cafewish.com/mergemenu.asp?shopid=id_for_shopb...

you have to replace "id_for_shopb" with the actual id of your shop b. Same with "id_for_shopa". That should do it. Smiler
 
Reply With QuoteEdit or Delete MessageReport This Post
Merchandise - CafePressVoice
Picture of Riyah-Li Designs
Posted Hide Post
Teesed how you are able to put up with my stupidity is beyond me...I still can't believe I did that! Thank you so much for being my eyes...I truly appreciate it. You are a super star!!


Riyah-Li Designs ...Catering to the unique in you!
 
Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of Teesed
Posted Hide Post
Hey, even google makes coding errors right? Smiler

Seriously, that's the first thing a programmer/coder looks for, the obvious. Why? Because we do it every day. Something won't work for 30 minutes and we're banging our heads because everything is EXACTLY AS IT IS SUPPOSED TO BE! Then you come back an hour later and look at it and go "Oh, well... except for that double quote that should be a single quote. There. Fixed." Smiler

Glad to be of assistance. I owed it to someone. Adam helped me through one of my projects today. See how this works? Smiler
 
Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of Teesed
Posted Hide Post
Just looked again and you have an error there.

in both of them you are missing the closing quote on the cafewish url in the script part. You have:

<script src="http://www.cafewish.com/mergemenu.asp?shopid=riyahlidesigns2>

You're missing the last quote:


<script src="http://www.cafewish.com/mergemenu.asp?shopid=riyahlidesigns2">

Same on the other one.
 
Reply With QuoteEdit or Delete MessageReport This Post
Merchandise - CafePressVoice
Picture of Riyah-Li Designs
Posted Hide Post
Yes! You are right...I knew something was fishy but couldn't put my finger on it! Thanks again for all of your help Big Hug


Riyah-Li Designs ...Catering to the unique in you!
 
Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
I used this to link my shops, but somehow messed up some coding on one shop (typical!)

Dog sports

in the browse designs box (inside the sidebar)
the list of the different sections shows up, but
the list is duplicated showing each section
twice. It should show dog breeds M-Z, but the list shows M-Z followed by M-Z!!

Any clues to what I can do to correct this problem??
 
Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of Teesed
Posted Hide Post
You have to replace "shop_a" and "shop_b" with YOUR SHOP IDS!!!!!

Smiler
 
Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
I have, and now it shows up twice in both stores.....
 
Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of Teesed
Posted Hide Post
OK, you have to be very careful, but you have to follow the directions exactly.

In your "dog_sports" shop, your script says ">script src="http://www.cafewish.com/mergemenu.asp?shopid=http://www.cafepress.com/dog_sports"<>/script<

that script is supposed to be pulling in the other shop menu, so the "shopid=" should be "shopid=dog_sports_two", not that entire url with the current shop id.


In your "dog_sports_two" shop, the script code says"shopid=shop_a" where it should say "shopid=dog_sports"

But that's not all. you apparently have your sidebar code in your shops twice. When you put in my code, you didn't remove your old code. Look in your shop template for "cpstore:sidebar" That should only be there once, inside my script code as shown in the first post here.

Please read through that opening post and pay very close attention to the instructions there and you should be good to go.
 
Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community Page 1 2 3  
 

    Community Forums: Home    CafePress Community Forums  Hop To Forum Categories  General Help & Sharing  Hop To Forums  Shop Customization & HTML    Merging two shops' sidebars