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

Product Detail Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-04-2010, 04:50 PM
 
karan karan is offline
 

Member
  
Join Date: Aug 2010
Posts: 12
 

Default Product Detail Page

Which file do I modify the product detail page where in the list of SKU, Quantity in stock, etc to include Provider in that list...

To see default install, you can see:
http://www.dealmia.com/product.php?productid=17513&cat=0&page=&featured=Y

Thanks,
Karan
__________________
4.3.2
Reply With Quote
  #2  
Old 08-05-2010, 02:31 AM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: Product Detail Page

Open it on webmaster mode and see the exact tpl file.X cart has the flexibility for viewing your exact tpl file.
__________________
4.6.1 Platinum


Reply With Quote
  #3  
Old 08-05-2010, 02:41 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Product Detail Page

skin1/customer/main/product_details.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 08-06-2010, 10:20 PM
 
karan karan is offline
 

Member
  
Join Date: Aug 2010
Posts: 12
 

Default Re: Product Detail Page

Thanks for the help. It worked.

Next Questions I have is (Sorry for many questions, I have very small budget and trying to do most I can.)

I added the field "provider" in the category table.

In the admin/category_modify.php, under
#
# Add/Update category data
#

I added:
if ($login_type == "A") {
$providers = func_query("SELECT login, title, firstname, lastname FROM $sql_tbl[customers] WHERE usertype='P' ORDER BY login, lastname, firstname");

}

I know this is selecting all the providers from the table. I am wondering, like in product_modify, if the admin is adding product, it ask for provider, how can I make it where if admin (me) us adding category, I can assign proder to it. I am not able to make it, where it gives the similar dropdown menu in category modify as in product modify.

Thanks in advance for your help.

Karan
Reply With Quote
  #5  
Old 08-07-2010, 05:16 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Product Detail Page

There will be few php and template files to edit in order to do that
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 08-07-2010, 06:20 AM
 
karan karan is offline
 

Member
  
Join Date: Aug 2010
Posts: 12
 

Default Re: Product Detail Page

Hello Steve,

Is it possible for you to give me little idea on which once I might need to edit.

Thanks,
Karan
__________________
4.3.2
Reply With Quote
  #7  
Old 08-07-2010, 03:02 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Product Detail Page

Use the webmaster tool to find out which templates exactly. You may need also to edit admin/categories.php, include/categories.php, include/import_categories.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:15 AM.

   

 
X-Cart forums © 2001-2020