LaughingHorse Posted May 24, 2015 Share Posted May 24, 2015 I would like to know how I can add an additional link to the header for all pages in CubeCart. The way my site is set up I have a WordPress blog as the "Front End" with a blog, and more. That links to the Cube Cart Shop.I would like to have two links for "Home"One labeled "Store Home" and the other labeled "Site Home"Or possibly when someone clicks on the site logo they are taken to the site home.And I could also have a Text link that says "Shop Home"Thank You in Advance!Allen Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 24, 2015 Share Posted May 24, 2015 In the template file box.navigation.php, the first (real) <li> tag is for "Home" pointing to {$STORE_URL}. You can insert another <li> just above it for the main site.Foundation uses a graphic (actually, a font that looks like little images) for the Home link. You may want to use that for the main site, then use something else to indicate the store homepage. (Maybe a variation of your favicon?) Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted May 24, 2015 Author Share Posted May 24, 2015 Thank You!You are the Best! Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted May 25, 2015 Author Share Posted May 25, 2015 Well, I thought that would give me what I wanted. But I was wrong on that.Attached is the header of the site. What I would like to do is when someone clicks on the logo it would take them to the WordPress site.To do that would I got to templates/main.php edit <a href="{$STORE_URL}" : <div class="small-5 medium-4 large-3 columns"> <a href="{$STORE_URL}" class="main-logo"><img src="{$STORE_LOGO}" alt="{$META_TITLE}"></a> </div>on line 58 to reflect the URL I want?Thank you!Also for some reason now even though I changed box.navigation.php back to the original file, it is still showing two homes. One with the store home, and one with the wordpress url. I did check using FIlezilla to check the code in box.navigation.php to make sure it really did revert back to the original. It did. I also used a "clean" browser (one that had the cache cleared). But it is still showing the two home icons.Sorry to be a pest.Thanks in advance for your reply. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 25, 2015 Share Posted May 25, 2015 In admin, Maintenance, Rebuild tab, check the Clear Cache and Submit. Smarty may be using a cached copy of the modified template.Correct, edit the href attribute on the tag at line 58.While making edits to the templates, it may be advantageous if you were to disable caching: admin, Store Settings, Advanced tab. Quote Link to comment Share on other sites More sharing options...
LaughingHorse Posted May 25, 2015 Author Share Posted May 25, 2015 Thank You! Everything worked perfectly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.