| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
help adding a back button to detailed product page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() can anyone give me some input as to how I would be able to add a back button that would take a customer back to the last page they came from, I would like to put the button in the product detail page.
Thanks in advance.
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#2
|
|||||||
|
|||||||
![]() Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:
http://forum.x-cart.com/showthread.php?t=23970 Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks! ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() thanks, i updated some information about me
![]()
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Try adding this...
{include file="buttons/button.tpl" button_title="BACK" href="javascript: history.go(-1);" style="button" js_to_href="Y"}
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||
|
|||||||
![]() thanks JWait, that was great, I just inserted it into skin1/product.tpl and appeared
if you are able to give me some instructions as on how to seperate the buttom further away from the buy button, lets say to the right side of the details area. here is a link if anyone would like to see http://www.thepreppypalm.com/store/product.php?productid=16168&cat=0&page=1 thanks alot. all your help is appreiciated Chris
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#6
|
|||||||||
|
|||||||||
![]() There are several ways to get what you want..
You can add <img src="{$ImagesDir}/spacer.gif" width="150" height="1" alt="" /> before the "back" code. That will put a 150 pixel space between your buttons. You can make the table cell that the "back" code resides in align to the right... <td align="right">. You can add a "AlignRight" class to skin1.css and make the cell align that way... <td class="AlignRight"> (add .AlignRight {align: right; } to skin1.css )
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#7
|
|||||||
|
|||||||
![]() Not sure if im inserting this correctly but it is not spacing them apart. this is how i have it in product.tpl
PHP Code:
it acutally offsets them up and down on the same line, thanks for taking time to answer Chris
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#8
|
|||||||||
|
|||||||||
![]() I'm not sure why... probably yet another of x-cart's nested tables. Try ..
Code:
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#9
|
|||||||
|
|||||||
![]() ok great, that got it to spread apart. thanks a bunch.
![]()
__________________
Version 4.3.1 fancy catagories (enabled) dynamic image generator 4.1(enabled) tabbed menu buttons Cdseo Pro (enabled) anonymous cart mod (enabled ) skin swap "mod doesnt work well for me" x-magnafier xcart Gift registry |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Works great. Thanks.
Can someone please tell me how to add "back" to language lbl so i can change the color to suit the page. Thank you in advance. Tammy
__________________
Tammy x-cart gold + 4.7.2 x-cart 5.2.10 |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|