Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Bestsellers on ALL pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 05-25-2010, 04:54 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Bestsellers on ALL pages

Add the line in xcart_root/modules/Fast_Lane_Checkout/cart.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #42  
Old 05-25-2010, 10:41 PM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Bestsellers on ALL pages

Quote:
Originally Posted by cflsystems
Add the line in xcart_root/modules/Fast_Lane_Checkout/cart.php

Thanks for your help.

In which line? After what?

I want to display bestsellers and Recommended products list in cart page when there is some product in the cart.

Thanks to all.
__________________
4.6.1 Platinum


Reply With Quote
  #43  
Old 05-31-2010, 02:37 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Bestsellers on ALL pages

Any solution cflsystems.I want to display bestselles and related product on cart page when there are some product.

Any help?
__________________
4.6.1 Platinum


Reply With Quote
  #44  
Old 05-31-2010, 01:57 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Bestsellers on ALL pages

Add in xcart_root/modules/Fast_Lane_Checkout/cart.php

if ($active_modules["Bestsellers"])
include $xcart_dir."/modules/Bestsellers/bestsellers.php";

right before

#
# The tabs array for disaplying on the checkout
#
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #45  
Old 06-01-2010, 04:32 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Bestsellers on ALL pages

Quote:
Originally Posted by cflsystems
Add in xcart_root/modules/Fast_Lane_Checkout/cart.php

if ($active_modules["Bestsellers"])
include $xcart_dir."/modules/Bestsellers/bestsellers.php";

right before

#
# The tabs array for disaplying on the checkout
#

Can I able to add bestsellers on left side cart on the central panel and recomonded product on right side for 3 colm in 4.1.11 Pro?
__________________
4.6.1 Platinum


Reply With Quote
  #46  
Old 06-01-2010, 08:31 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Bestsellers on ALL pages

You can style where the box is showing anyway you want
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #47  
Old 06-02-2010, 10:19 PM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Bestsellers on ALL pages

Quote:
Originally Posted by cflsystems
You can style where the box is showing anyway you want

Yes cflsystems I know that I can Style where the box is showing,but how to display it I cannot.

Actually I add bestsellers and recommended product code in /modules/Fast_Lane_Checkout/home_main.tpl for display.

Here is my codes-
{include file="modules/Recommended_Products/recommends.tpl"}
{if $checkout_step eq 0}
{include file="modules/Fast_Lane_Checkout/checkout_0_enter.tpl"}

{elseif $checkout_step eq 1}
{include file="modules/Fast_Lane_Checkout/checkout_1_profile.tpl"}

{elseif $checkout_step eq 2}
{include file="modules/Fast_Lane_Checkout/checkout_2_method.tpl"}
{elseif $checkout_step eq 3}
{include file="modules/Fast_Lane_Checkout/checkout_3_place.tpl"}

{else}
<div align="right">
<table cellpadding="0" cellspacing="0">
<tr>
<td>{include file="modules/Fast_Lane_Checkout/big_button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"}</td>
<td><img src="{$ImagesDir}/spacer.gif" width="10" height="1" alt="" /></td>
<td align="right">{include file="modules/Fast_Lane_Checkout/big_button.tpl" button_title=$lng.lbl_checkout style="button" href="cart.php?mode=checkout" color="red" arrow="Y"}</td>
</tr>

</table>
</div>

{include file="customer/main/cart.tpl"}

{/if}
{include file="modules/Bestsellers/bestsellers.tpl"}

---But it will display Recommended products list at the top and Bestsellers at the bottom.I want to display Recommended products list at the left side cart at central position(As it is) Bestsellers at the right side.

How to do that?

Can you help me?
Thanks and regards.
__________________
4.6.1 Platinum


Reply With Quote
  #48  
Old 06-03-2010, 12:22 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default Re: Bestsellers on ALL pages

You should be looking in /skin1/modules/Fast_Lane_Checkout/home.tpl for what you want to do.

There are two lines similar to this:
Code:
<td valign="top" width="150"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>

The first occurrence of that line is for a left column, the second for a right column.

Thus, for a left column display replace the first occurrence with this:
Code:
<td valign="top" width="150">{include file="modules/Recommended_Products/recommends.tpl"}</td>

Quote:
Originally Posted by Learner
Actually I add bestsellers and recommended product code in /modules/Fast_Lane_Checkout/home_main.tpl for display.

{include file="modules/Recommended_Products/recommends.tpl"}

{include file="modules/Bestsellers/bestsellers.tpl"}

---But it will display Recommended products list at the top and Bestsellers at the bottom.I want to display Recommended products list at the left side cart at central position(As it is) Bestsellers at the right side.

How to do that?
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #49  
Old 06-03-2010, 03:18 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Bestsellers on ALL pages

Yes you are looking in the wrong file. And if FLC is not styled already as 3 column layout you will have to do that too
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #50  
Old 06-03-2010, 03:22 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Bestsellers on ALL pages

Thanks hooter for your response.Now it works perfect for me.But is it possible to display on cart page only when there are some products in the cart not in the checkout page and not in the payment page for submit order?
I want to display it on cart page when there are some products.

Is it possible?If possible how.

Thanks and regards.
__________________
4.6.1 Platinum


Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:38 AM.

   

 
X-Cart forums © 2001-2020