Announcement

Collapse
No announcement yet.

Template coding

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Template coding

    Am I able to move code blocks between templates? I tried adding the promo code block from the view cart page to the account page but the variables would not populate. Do I need additional script on the account page or my just doing it wrong?

  • #2
    Many template blocks only work on the page for which they were originally intended. And some blocks that are functionally the same have different syntax between pages.
    The guide here is pretty thorough on what you can put on each page, although it isn't 100% complete:
    3dcart Design Docs

    Comment


    • #3
      confirm my suspicions

      thank you that's what i thought bu you confirmed this for me

      Comment


      • #4
        Originally posted by cbsteven View Post
        Many template blocks only work on the page for which they were originally intended. And some blocks that are functionally the same have different syntax between pages.
        The guide here is pretty thorough on what you can put on each page, although it isn't 100% complete:
        3dcart Design Docs
        That guide was very recently updated, if you find anything missing, let me know.
        ----------------------------
        Gonzalo Gil
        3dCart Support
        800-828-6650 x111

        Comment

        Working...
        X