网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > X-Cart
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

Reply
 
Thread Tools Display Modes
  #1   IP: 153.99.38.207
Old 2015-06-10, 11:04 PM
Harney Harney is offline
初级会员
 
Join Date: 2013-09-17
Posts: 2
Harney 现在声名狼藉
Default Different Product Detail Page

I have played with 4.3.1 and I found it quite easy to find the correct files to modify. But with 4.4.1 everything is literally duplicated which does make it much more difficult to customize.

To answer you question regarding editing the product details page, this is where I did it.
/xcart/skin/2-columns/customer/main/product_details.tpl
Reply With Quote
  #2   IP: 153.99.38.207
Old 2015-06-10, 11:08 PM
Hatfield Hatfield is offline
初级会员
 
Join Date: 2006-06-03
Posts: 1
Hatfield 现在声名狼藉
Default

Yes, in 4.4.x the template structure has been changed.

The main idea is: each skin can have its own templates... inside its own directory, which overwrites the common ones "on the fly".

The customization should simplify the upgrade and reduce the changes to the "common", or, in other words, "core" templates.

For example you need to change the product page in 2-column template.

There is no skin/2-columns/customer/main/product.tpl template, thus the skin/common_files/customer/main/product.tpl is the one.

The safe way is:
1. copy skin/common_files/customer/main/product.tpl to skin/2-columns/customer/main/
2. make the necessary changes to skin/2-columns/customer/main/product.tpl
Reply With Quote
  #3   IP: 153.99.38.207
Old 2015-06-10, 11:09 PM
Heafford Junction Heafford Junction is offline
初级会员
 
Join Date: 2009-05-10
Posts: 1
Heafford Junction 现在声名狼藉
Default

Thank you for your reply. Can I use the same if statement that I used in version 4.3 or has the code changed? What I used was:

{if $current_category.categoryid ne '29'}
Reply With Quote
  #4   IP: 153.99.38.207
Old 2015-06-10, 11:10 PM
Herculaneum Herculaneum is offline
初级会员
 
Join Date: 2009-09-17
Posts: 2
Herculaneum 现在声名狼藉
Default

Pretty sure you can use the same if statement .. As this is standard Smarty syntax...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zen Cart: Re-routing 404 errors to your index page topvip ZenCart 0 2012-04-08 07:59 AM
htaccess 301 redirect tutorial yahoo 服务器环境搭建 0 2009-09-06 12:45 AM
What are the Strongest Directories? smiling 网站链接开发 1 2007-07-28 09:26 PM
Successful Site in 12 Months with Google Alone sunshine 搜索引擎市场营销研究 0 2006-02-27 09:27 PM
Building for the user and the bot. admin 建站交流 0 2006-01-17 03:54 PM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 02:09 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.