Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Jun 2017 10:01 PM by  Steve L
Importing ad-hoc data for use in templates - Is this supported
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:58
New Member


--
29 May 2017 08:27 AM

    Hi chaps

    Can you please briefly clarify for me how this store works in regards to creating, importing and displaying additional information for products.

    This relates to a request I submitted earlier about customising the store to require purchasing quantities to fit certain unit sizes. We have done this in our old store by importing a value into a new field and then making the quantity field use that value as a multiplier. We need to do this and a couple of similar tasks again in the new store.

    Does the store support this basic concept:

    • Importing/bringing in external data such as a text into a new or custom field for product.
    • Accessing that data for either display or other purpose in the list and details and other templates, perhaps by way of a token or xml/razor of some sort.

    As an example, our external database has a text field containing a delivery due date as free text data in a field. We would display that information on our product pages.

    I realise one could use one of the existing rich text fields for this purpose, but I'm still asking if one can create and use new fields, not just existing ones.

    I have also read in the knowledgebase about DNN Sharp's My Tokens tool and am wondering if this is an additional or the only option for providing such functionality.

    Thanks heaps

    Rob

    0


    Veteran Member


    Posts:2957
    Veteran Member


    --
    07 Jun 2017 10:01 PM

    Hi Robert.

    You can certainly import additional data under the Extension field as well as the DynamicFormCode (custom field). You will likely need to extract the additional data using server-side code for the Extension data since we don't expose that in the model. The custom field code, however, should be available in model (currently available in Product List and soon in the Product Detail).

    You can embed DNN Sharp tokens in the product descriptions. They should render out the computed value.

    0
    You are not authorized to post a reply.