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

Over my head....

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-20-2009, 08:08 AM
 
alittlebitter alittlebitter is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 9
 

Default Over my head....

Hi guys.

Man, I've been searching these forums for the past couple days and am still in a confused state. I need the following:

1. On Wishlist Page: Move Product Details info (price, quantity, detail/add to cart buttons etc) under the product image. The images & details side by side are bumping out the vertical menus on both sides (only on the Wishlist page - every other page is fine).

2. Hide the Market Price. I've seen where you can just add "0" to the List Price, but our Point of Sales refreshes every 5 minutes, so the List Price keeps getting regenerated. I need to not show that permanetly.

3. Hide the Cart (including add to cart/view cart/checkout buttons). We are in the process of setting up a warehouse for online orders. So for now, they just want a website with product info and prices. The cart will be enabled at a later date.

4. I can't find anything in regards to the News area. I honestly don't remember removing that section. It's not anywhere in the Admin area. I found the tpl file, but nothing is commented out.

5. Same with a search bar. Did X cart come with a search feature? Again, I found the tpl file, but nothing is commented out.

I am brand new to this, and trying to figure things out on my own, but right now I am pulling my hair out. Any advice would be greatly appreciated.
__________________
X-Cart Gold 4.1.9
Reply With Quote
  #2  
Old 11-20-2009, 09:01 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Over my head....

That's a lot of 'splainin' to do!!

Let's tackle these one a t a time.

the wish list section use skin1/custoemr/main/cart.tpl

you will need to write and if/else statement.

{if $main eq 'cart' and $mode eq 'wishlist'}
new layout here
{else}
original cart.tpl layout here
{/if}
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 11-20-2009, 11:35 AM
 
alittlebitter alittlebitter is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 9
 

Default Re: Over my head....

Okay, I'm in the cart.tpl. Does the placement of the statement matter? And I'm a little confused by the "new layout here" and "original cart.tpl layout here" - can you elaborate?

Sorry Ashley, I'm far from a coder, don't mean to take up much of your time...
__________________
X-Cart Gold 4.1.9
Reply With Quote
  #4  
Old 11-20-2009, 11:40 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Over my head....

To hide the market price and eventually "% save" icon you need to comment out the code from products.tpl and product.tpl

If you don't have any news posted the news area may not show. Also look into home.tpl - the include for news.tpl is in there by default. Maybe it was not you who commented it out. Same for the search bar. And search by default is in head.tpl

To hide the cart you need to edit product.tpl, products.tpl, home.tpl.. maybe some other files along that line, and comment out the code from there in reference to add-to-cart, buy-now, auth-box... Look in the template files for the exact spelling
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 11-20-2009, 12:38 PM
 
alittlebitter alittlebitter is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 9
 

Default Re: Over my head....

Thanks for the replies Ashley & Steve. I'll let you know how it goes (or doesn't go...)
__________________
X-Cart Gold 4.1.9
Reply With Quote
  #6  
Old 11-23-2009, 11:31 AM
 
alittlebitter alittlebitter is offline
 

Newbie
  
Join Date: Sep 2009
Posts: 9
 

Default Re: Over my head....

Okay, one issue down. I just changed the code in the modules/Wishlist/wl_products.tpl

From this:

image_x=$wl_products[product].image_x image_y=$wl_products[product].image_y

to this:

image_x=150

...and it worked. The Wishlist is done and looking okay (thanks to Balinor for a reply to another post for that hint!)

Next up is the hiding the Market Price issue....
__________________
X-Cart Gold 4.1.9
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 02:15 PM.

   

 
X-Cart forums © 2001-2020