The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Completing Dynamic Values (1 post)

  1. agentauto
    Posted 3 years ago #

    I was hoping you could help me with this question.

    I am needing to create a shortcode that can call the value of the Stock field on each particular listing.

    For example, check this out - http://style.agentauto.com/inventory/200/
    On the left, I have a form by formidable pro. They allow to put shortcodes into the fields if you want to dyncamically fill the form. How could I dynamically call the stock number? I would think it would be done by creating a shortcode around the Stock number php line
    <?php if ( $fields['stock']){ echo '

  2. <span class="strong">'.$options['stocktext'].':</span> '.$fields['stock'].'
  3. ';}else { echo ''; }?>

    Logated in the Single-GTCD.php file.

    Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.