View Single Post
  #1  
Old 03-10-2011, 05:49 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

eXpert
  
Join Date: Oct 2009
Location: Worcestershire, UK
Posts: 217
 

Default Can't access custom variable

Hi All,

I have a modified mini-cart. I want to also input a text line, such as "Only ё3.40 until FREE SHIPPING!"

To do this, I have created a variable that looks at my shipping tables. I want to make sure that my minicart always reads whatever value is in a certain shipping method, that qualifies them for free shipping. If we ever changed the threshold, I won't have to change the template.

Bearing that in mind, the variable does now appear in "Webmaster Mode"

{$free_shipping_subtotal_requirement}Array (1)0 => Array (1) mintotal => "25.00"


I want to be able to access the "mintotal" value.

However, even as a starting point, I can't reference it in a template - It just comes out as blank

Have I missed something fundamental that will allow me to get to that? Or, should I just be able to call it, if it's populated - Which it is doing - And contains the correct value?

Any help will be hugely appreciated!

Thank you!
__________________
4.2.3
X-Cart Gold
BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers
-------[installed]----------------------[installed]--------------[installed]----[installed]--



5: in development
Reply With Quote