JShop Extend cart output using cartOutputExtras.php

Never realised that you could extend the output of the cart for other variables by just adding a cartOutputExtra.php file to your /routines. Nice!

Simple add this to /routines as a new file. This instance gets the current URL so that it can be used as {location.url} in your template.


addVariable("location",array("url"=>$locationNow));
break;
}
?>

One thought on “JShop Extend cart output using cartOutputExtras.php

  1. Pingback: Articles » Blog Archive » Getting Your Car Audio System Components to Work Together

Leave a Reply

Your email address will not be published. Required fields are marked *