| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to modify Chekout pages template? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to remove the right column from the checkout pages.
I found a post with some information but it wasn't completely clear to me how this would be done. I'm assuming I must create a new template And call that template from a php file. I have not been able to find the php file from which to change that template information however. A few hints would be great. Thanks |
|||||||
#2
|
|||||||
|
|||||||
![]() Could you describe exactly what you wish to remove from the checkout pages please?
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#3
|
|||||||
|
|||||||
![]() I'd like to be able to drop the right column boxes and have the checkout details span both columns.
|
|||||||
#4
|
|||||||
|
|||||||
![]() Hi,
Off the top of my head, I think you could just hide the third right hand column by using an 'if' statement. To remove the column on the checkout page add the 'if' statement above the opening <td> tags for the column: Code:
Code:
You can replace the "checkout" with the name of the smarty variable for any other pages where you wish to hide the right hand column. HTH
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#5
|
|||||||
|
|||||||
![]() That worked. Thanks for the help.
If I now want the middle section to span two columns do I use a conditional statement for the colspan or do I need to make a new template that spans both columns? |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
You should be able to use a conditional statement for the colspan too. I've done conditional statements inside table tags before. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#7
|
|||||||
|
|||||||
![]() I had a look at the smarty documentation and couldn't figure out what the syntax would be for a conditional <td> attribute.
would I just repeat the table cell code like this: Code:
Or would the if statement go inside the <td> tag? |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Try the IF statement in the <td> tag. I've done it before for TR background changes depending on a condition.
So something like Code:
I know I've done something similar in a <TR> tag. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#9
|
|||||||
|
|||||||
![]() Quote:
doesn't that mean that the colspan will not show while in checkout mode? |
|||||||
#10
|
|||||||||
|
|||||||||
![]() eq means equal, so if $main equals checkout, then colspan=2. So on checkout, span 2 columns.
Hope that makes sense. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|