| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Passing Variable Help | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Passing Variable Help
Hi,
I have partner stores that have their own storefronts and I want to pass a preview link from the admin to the storefront site. Example: domain.com/store/affiliates/partner_user/ I need to know how to make an <a href="" to link and replace the partner_user with the user that is logged in at that time. Thanks |
|||||||
#2
|
|||||||||
|
|||||||||
smarty template variable {$login} holds the current login name so putting that in your link should work
http://blah.com/customer/{$login}
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#3
|
|||||||
|
|||||||
That Worked!
Thank you so much! I was looking everywhere. I guessit doesn't help not knowing smarty that well. Is there a list of what variables control what?
|
|||||||
|
|||
X-Cart forums © 2001-2020
|