Support Forums

How to make if work with mod checkout

This is a discussion on How to make if work with mod checkout within the Customizations forums, part of the Developer Forums category; I am trying to do this on the sidebar: {if $mod=='quick_checkout'} <div class="one"></div> {else} <div class="two"></div> {/if} It doesn't work ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

Reply
 
Thread Tools Display Modes
Old 03-10-2011, 08:06 PM   #1
Customer
 
Join Date: Jul 2010
Posts: 24
Rep Power: 5
tango is on a distinguished road
Default How to make if work with mod checkout

I am trying to do this on the sidebar:

{if $mod=='quick_checkout'}
<div class="one"></div>
{else}
<div class="two"></div>
{/if}

It doesn't work becasue i am unsure how to call the module quick checkout. Thanks for reading.
tango is offline   Reply With Quote
Old 03-10-2011, 08:11 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,310
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

If you are using the Quick Checkout Module then it is active, so it would probably be easier to check for the script being run, which is usercheckout.php.

Use the smarty Debug to see the exact variable name.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 03-10-2011, 09:20 PM   #3
Customer
 
Join Date: Jul 2010
Posts: 24
Rep Power: 5
tango is on a distinguished road
Default

Great that did it, thanks. Here is the code i used for any one who is interested

Code:
{if $body=='quick_checkout/checkout/container.tpl'}
<div class="one"></div>
{else}
<div class="two"></div>
{/if}

Last edited by tango; 03-10-2011 at 09:33 PM.
tango is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Step4 Checkout Not showing text in "Continue Checkout" button MrGForce TemplateCodes 6 03-04-2011 06:47 AM
Make Featured pictures come from another URL bowers01 Technical Support 2 10-19-2008 01:08 AM
RSS - How do you make it work? centinel3 Modules / Plugins / Modifications 33 09-07-2008 02:15 PM
Who knows how to make a right column?? dphibb Templates, HTML, CSS, and Design Help 7 09-20-2007 07:29 PM


All times are GMT -4. The time now is 10:58 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0