cart page |
Post Reply |
Author | |
KickassSoftwear
Newbie Joined: 01 December 2020 Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 01 December 2020 at 3:42pm |
Hi I started using RC in 2002 and I am coming back to it since retiring in 2013, not much has changed and I am happy to see all the remote data snippets are as they were so I don't have to learn everything from scratch!
Previously I was able to incorporate the cart & checkout page into my html, (I think it was probably an iframe back then) now I am looking at the customise cart page and it looks easy enough to paste in the nav & footer etc but, I use a lot of CSS to make my layouts and that will be missing from the RC cart page. So is there a way to use RC code snippets in my html to build my own cart page? If so where do I find that info, Thanks |
|
Support
RomanCart Team Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10794 |
Post Options
Thanks(0)
|
Hi,
Firstly - great to see you back :) Go to 'configure'/'appearance'/'hosted cart pages'/'shopping cart templates' Click on 'standard templates' Go to page 4. Click on the copy icon for the responsive template at the bottom. This copies it to the user area where you can edit each part of the code for the template and do what you want with it. When you click on the edit icon for a section there is a link to a page showing all the tags you can use. Many Thanks Support |
|
KickassSoftwear
Newbie Joined: 01 December 2020 Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Thanks that's a great help, I'll work my way through it.
I know there are text links & snippets to show how many items are in the cart, but I haven't got room on the nav for that much text - I am using a shopping trolley icon to link to the cart page, is there a way to show an indicator of how many items are in the cart (instead of forcing the customers to open the new page) I am thinking if there's a JS snippet that will return a number rather than a text string, I could maybe use CSS pseudo-element to show that number after the cart icon. Can that be done? Thanks |
|
Support
RomanCart Team Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 10794 |
Post Options
Thanks(0)
|
Hi,
You would need use ajax to call the snippet and then parse the text it returns to get the number. Slightly unusual I know - but it would work. Many Thanks Support |
|
KickassSoftwear
Newbie Joined: 01 December 2020 Status: Offline Points: 19 |
Post Options
Thanks(0)
|
OK thanks
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |