| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding Trust Logo (and) Moving 'update' button | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I have 2 questions.
1. I want to add my trust logo under the lefthand menu and want to know which file I need to be editing. I found this thread (http://forum.x-cart.com/viewtopic.php?t=8138) explaining how to actually set up the logo properly, but I want to know which file I should be putting that short line of code into to get the logo to show up where I want it (see image below). 2. I want to move the update button in the cart contents to be under the quantity for each item (amazon.com style) instead of one update button at the bottom of the page. I assume I just copy the code from one tpl file into another tpl file but I don't know which two to screw with. I am using the Crystal Blue skin template if that makes any difference, (http://www.x-cart.com/skin_template.html?skin=1) with X-Cart Gold v 4.0.13. http://www.madragzstore.com/cart_modification.gif
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
#2
|
|||||||
|
|||||||
![]() For your first problem you can put the HTML code for trusted logo in
/skin1/home.tpl Search for the following code: <TABLE border="0" width="100%" cellpadding="0" cellspacing="0" align="center"> <TR> <TD width="6"></TD> <TD width="150" valign="top"> {if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")} { include file="customer/categories.tpl" } {/if} {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Modules.manufacturers_menu eq "Y"} { include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {include file="customer/special.tpl"} { include file="help.tpl" } [img]{$ImagesDir}/spacer.gif[/img] </TD> Enter your code between the last two lines. Best regards, Alin |
|||||||
#3
|
|||||||||
|
|||||||||
![]() There doesn't seem to be a 'skin1/home.tpl' file. There is
- skin1/single/home.tpl - skin1/customer/home.tpl - skin1/fulfilment/home.tpl Should I try and make changes to all three pages?
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
#4
|
|||||||
|
|||||||
![]() skin1/customer/home.tpl is the correct file. Skin1/single/home.tpl is the admin front page.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Sorry, it was my mistake, it is as balinor said /skin1/customer/home.tpl
Alin |
|||||||
#6
|
|||||||||
|
|||||||||
![]() So, I'm getting an error and I have a sneaking suspicion that I made the secure_cert.tpl file incorrectly. I've posted my issue in this thread (http://forum.x-cart.com/viewtopic.php?p=92609) but if anybody here has an answer as well, would be awesome.
Also, can anybody help me move the update button?
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
#7
|
|||||||
|
|||||||
![]() About the second problem, the code for that button is in /skin1/customer/main/cart.tpl
The code for the "Update Cart", "Clear Cart" and "Checkout" buttons is the following one: {if $js_enabled} <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <TR> <TD> {include file="buttons/update.tpl" type="input" href="javascript: document.cartform.submit()" js_to_href="Y"} {include file="buttons/button.tpl" button_title=$lng.lbl_clear_cart href="cart.php?mode=clear_cart"} </TD> {if $active_modules.Special_Offers} {include file="modules/Special_Offers/customer/cart_checkout_buttons.tpl"} {/if} <TD align="right"> {include file="buttons/button.tpl" button_title=$lng.lbl_checkout style="button" href="cart.php?mode=checkout"} </TD> </TR> </TABLE> {else} <INPUT type="hidden" name="mode" value="checkout"> {include file="submit_wo_js.tpl" value=$lng.lbl_checkout} {/if} You will have to move a part of this code inside of {section name=product loop=$products} {/section} because I understand that you want only the update button repeted on each product line. I hope this helps you to solve the problem. Please let me know if you have problems in doing this. Best regards, Alin |
|||||||
#8
|
|||||||
|
|||||||
![]() Tequilaboy, please don't double post. I answered in the other thread before I realized you posted here as well.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||||
|
|||||||||
![]() I guess I was under the impression that the error I was getting with the trustlogo was a different question then trying to locate the position I wanted to put it at.
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() Thanks alinticlea, moved update button no prob.
__________________
Wicked shirts, and other assorted mayhem. www.MadRagz.com ----- X-Cart Gold v 4.0.13 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|