Announcement

Collapse
No announcement yet.

I have lost the REF for the products

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

    I have lost the REF for the products

    Hi All,

    I'd thought I'd have a go at adding a new variable to my products. It did't work so I'll have to play around with it. Anyway some how I have done something to stop the Ref number appearing on the web page ('Ref' appears, just not the variable). Could anyone compare the code below with your web code to see if I've deleted something.

    Thanks,

    <a name="<Actinic:Variable Name="EncodedProductAnchor"/>"></a>
    <h3 class="product"><Actinic:Variable Name="ProductName"/><br /></h3>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
    <p>Ref:
    </p>
    </actinic:block>
    <h3 class="product_price">
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e">
    <Actinic:PRICES PROD_REF="<actinic:variable name="ProductReference" />" RETAIL_PRICE_PROMPT="<Actinic:Variable Name="ProductPriceDescription"/>">
    <actinic:variable name="PriceListRetail" />
    </Actinic:PRICES>
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False">
    <Actinic:NOTINB2B><br /><actinic:variable name="ProductPriceNotEnabledMessage" /></Actinic:NOTINB2B>
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e">
    <br />
    <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable name="ProductReference" />" COMPONENTID=-1><Actinic:Variable Name="RetailCustomerMessage"/></Actinic:PRICE_EXPLANATION>
    </actinic:block>
    </h3>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e">
    <p>
    <span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/></span><input type="text" name="Q_<Actinic:Variable Name="ProductReference"/>" size="4" value="<Actinic:Variable Name="DefaultQuantity"/>" class="form_input_general" />
    </p>
    </actinic:block>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptHidden%22%20%2f%3e">
    <input type="hidden" name="Q_<actinic:variable name="ProductReference"/>" value="<actinic:variable name="DefaultQuantity"/>" />
    </actinic:block>
    <actinic:variable name="AttributeList" />
    <actinic:variable name="ComponentList" />
    </div>
    Mark J

    Never written a line of code until Jan 07, still nursing a headache!

    www.enjoyyourgarden-online.co.uk Garden buildings & log cabins
    www.timeinthegarden.co.uk Outside clocks, thermometers etc.

    St Austell, Cornwall, UK

    #2
    See

    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
    <p>Ref:
    </p>
    </actinic:block>

    There's nothing after Ref:

    Try adding in <actinic:variable name="ProductReference" />

    PS Actinic would have done this compare for you. Just right-click any Layout (Design / Library / Layouts) and choose Compare with Factory Version.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman, got it working now.
      Mark J

      Never written a line of code until Jan 07, still nursing a headache!

      www.enjoyyourgarden-online.co.uk Garden buildings & log cabins
      www.timeinthegarden.co.uk Outside clocks, thermometers etc.

      St Austell, Cornwall, UK

      Comment

      Working...
      X