Link "view cart" all pages
Permalink
We need the ecommerce link "view cart" appears on every page, is this possible? How?
Also don't forget you can add items like your cart to the page type itself. The disadvantage to this is having to add it to each page style you use on your site ( Full, left sidebar, right sidebar etc.)
The advantage is you can place it in the best looking spot for each page type regardless of Global blocks.
Add to page types by Dashboard > Pages & Themes > Page Types > then select "Defaults" after the page type you want to add it to.
**note: After adding anything to a Page type, it will appear on NEW pages being added. To have it show up on existing pages, click the item again as if you were going to edit it but this time select "Setup on Child pages" from the bottom of the drop-down. This will allow you to tic the existing pages you want it added to automatically :)
Adrian
Arvixe Web Hosting / concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting.........
The advantage is you can place it in the best looking spot for each page type regardless of Global blocks.
Add to page types by Dashboard > Pages & Themes > Page Types > then select "Defaults" after the page type you want to add it to.
**note: After adding anything to a Page type, it will appear on NEW pages being added. To have it show up on existing pages, click the item again as if you were going to edit it but this time select "Setup on Child pages" from the bottom of the drop-down. This will allow you to tic the existing pages you want it added to automatically :)
Adrian
Arvixe Web Hosting / concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting.........
This is definately a great approach if one would like to implement it without having to modify code, although, I typically take this one step further. Yes, you can always go back to the page type defaults later and add new blocks to the defaults and "setup on child pages", but the problem I seem to always run into is that the existing pages that you "setup child" to always get the new block inserted at the bottom of the area it's in. So I find myself having to visit every previously existing page and move the new blocks into their proper place (If the bottom is not where I wanted them. My solution for this is to create a "header" and a "footer" stack for each page type for instance. Then include the stacks on your page type defaults. If you ever want to rearrange, add items, or redesign the content on all those pages and any created in the future, all you need to do is edit the stack ;)
OR.. here is another way! Using a super-awesome FREE block that allows you to create your own Global area, you could do the same as above.
http://www.concrete5.org/marketplace/addons/global-areas/...
I hope this helps.