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

Moving wholesale table next to sku,weigh etc..

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-14-2009, 07:02 AM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default Moving wholesale table next to sku,weigh etc..

Hi there, i modify the product.tpl and i want to move the wholesale table next to the product info (sku,weigh,quantity).. Is that easy? Have a look at the screenshot if you don't get what i mean..

Thanks to all community for support
Attached Thumbnails
Click image for larger version

Name:	wholesale.jpg
Views:	181
Size:	27.4 KB
ID:	1463  
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote
  #2  
Old 04-14-2009, 07:54 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Moving wholesale table next to sku,weigh etc..

It's just a matter of moving the code for the wholesale into the detail table. Check product.tpl - all is there
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 04-14-2009, 07:56 AM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default Re: Moving wholesale table next to sku,weigh etc..

i have to add column? what is the exactly code of the wholesales table?
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote
  #4  
Old 04-14-2009, 08:10 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Moving wholesale table next to sku,weigh etc..

The wholesale is in product_prices.tpl. The code that inserts it in product.tpl it this
Code:
{if $product.forsale ne "B"} <tr> <td colspan="2"> {include file="customer/main/product_prices.tpl"} </td> </tr> {/if}

It creates new row in the details table. You can create new column in the details table and insert that code in it
Code:
{if $product.forsale ne "B"} {include file="customer/main/product_prices.tpl"} {/if}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 08-09-2010, 09:25 PM
 
kgoel kgoel is offline
 

Advanced Member
  
Join Date: May 2010
Posts: 82
 

Default Re: Moving wholesale table next to sku,weigh etc..

I am having a problem in showing the wholesale prices. Prices were showing yesterday for three rows, now all the rows have disappeared. I see just the first row with table and no prices. This table shows prices one day but disapears other day. Any one has seen this bug?.
__________________
Version 4.3.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


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 10:21 AM.

   

 
X-Cart forums © 2001-2020