View Single Post
  #1  
Old March 19th, 2012, 04:30 PM
lesljr lesljr is offline
 
Join Date: Jan 2012
Posts: 80
Default Assign PHP Variable to ShortCode

I figured out how to get related products into a widget. I just need to know how to assign a variable. Here is what I want to do. Thanks for your help

[DFR:Related Products?c=$dfr_category]


Store ID: 35889


<?php
$dfr_category = dfr_get_related_products();
?>

[DFR:Related Products]