RomanCart.com Forum Homepage
Forum Home Forum Home > RomanCart > Integration
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

cart page

 Post Reply Post Reply
Author
Message
KickassSoftwear View Drop Down
Newbie
Newbie


Joined: 01 December 2020
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote KickassSoftwear Quote  Post ReplyReply Direct Link To This Post Topic: cart page
    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
Back to Top
Support View Drop Down
RomanCart Team
RomanCart Team


Joined: 16 March 2004
Location: United Kingdom
Status: Offline
Points: 10794
Post Options Post Options   Thanks (0) Thanks(0)   Quote Support Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2020 at 3:46pm
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
Back to Top
KickassSoftwear View Drop Down
Newbie
Newbie


Joined: 01 December 2020
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote KickassSoftwear Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2020 at 4:46pm
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
Back to Top
Support View Drop Down
RomanCart Team
RomanCart Team


Joined: 16 March 2004
Location: United Kingdom
Status: Offline
Points: 10794
Post Options Post Options   Thanks (0) Thanks(0)   Quote Support Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2020 at 4:51pm
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
Back to Top
KickassSoftwear View Drop Down
Newbie
Newbie


Joined: 01 December 2020
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote KickassSoftwear Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2020 at 5:16pm
OK thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.109 seconds.