Announcement

Collapse
No announcement yet.

Where is <actinic:variable name="OrderLinkText" /> drawn from?

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

    Where is <actinic:variable name="OrderLinkText" /> drawn from?

    In the Shopping Links Layout line 24:
    Code:
    <a href="<actinic:variable name="OrderLinkText" />" onclick="AppendParentSection(this)"><img class="shoppingCart" src="checkout-icon.png" /></a>
    Unfortunately in a client site this is showing an incorrect address whereas the display should be:
    Code:
    <a href="https://www.graphicz.solutions/wpsd/cgi/os000001.pl?ACTION=Start&BASE=https://www.graphicz.solutions/wpsd/acatalog/" onclick="AppendParentSection(this)">
    (From a test site)
    On the client site the display is:
    Code:
    <a href="https://www.client.site/cgi-bin/os000001.pl?ACTION=Start&BASE=https://www.client.site/blog/" onclick="AppendParentSection(this)">
    The expression is created by <actinic:variable name="OrderLinkText" /> and I am guessing an incorrect value has been entered somewhere but I do not know where.
    The network settings seem OK and it is an SQL site so I cannot search the database.

    The problem is that all the search results on the search results page start with
    Code:
    https://www.client.site/blog/ and not https://www.client.site/acatalog/
    so I a guessing the same variable is involved in generating the 'Search Result Link'.

    Both sites have a Wordpress blog in a separate directory

    The base href is correctly showing the acatalog url

    Please can anyone give me any pointers?

    Thank you
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    From the Help / Variable Reference Guide: OrderLinkText

    URL of the checkout
    Type of Variable: Text
    Related Product Area: Shopping Cart
    Place of Setting: Based on 'Web | Network Setup'

    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thank you Norman, yes I looked there but the network settings are correct so I was wondering if it could be drawn from somewhere else? And whether that was the same place the <Actinic:Variable Name="SearchResultLink"/> is drawn from???
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment


        #4
        If you have Wordpress on the same domain with its own search facility you could have both
        You would only get blog in the address if you put blog as the "Online Store Folder Name" in Network settings. Blog is a major part of Wordpress so this is Wordpress's results page not Sellerdecks. Something could have been altered in the search page Default Base Href or one of the Search Design Library Layouts

        Comment


          #5
          Thank you, yes indeed but the network settings do not contain the blog url. The blog pages carry the SD search box and JS and it all works on the graphicz.solutions test site as above. And the search results from within SD show the blog URL - I cannot find where it is referenced. The site uses SQL so I cannot search the database. Base href and layouts seem ok.
          Jonathan Chappell
          Website Designer
          SellerDeck Website Designer
          Actinic to SellerDeck upgrades
          Graphicz Limited - www.graphicz.co.uk

          Comment


            #6
            Sellerdeck might be picking up the 'BASE' url from the content tree.
            -----------------------------------------

            First Tackle - Fly Fishing and Game Angling

            -----------------------------------------

            Comment


              #7
              Thanks Mike. Prob some sort of weird caching issue. I have removed the SD search from the blog pages so that should fix it.
              Jonathan Chappell
              Website Designer
              SellerDeck Website Designer
              Actinic to SellerDeck upgrades
              Graphicz Limited - www.graphicz.co.uk

              Comment


                #8
                Ah right. It could well be what was the referring url which picked up where the browser was coming from.and possibly stored them in the cookie. I've seen many cases where you follow a link from the forum here to a sellerdeck scripts URL and the scripts getting confused.
                -----------------------------------------

                First Tackle - Fly Fishing and Game Angling

                -----------------------------------------

                Comment

                Working...
                X