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

Editing a particular product page.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-17-2013, 11:35 AM
 
Ed Rhone Ed Rhone is offline
 

Member
  
Join Date: Dec 2010
Posts: 25
 

Default Editing a particular product page.

Hi,

Is it possible to edit a single product page?

For instance, Product BR549 has it's product page. BR549 has three sections. I need to add some custom code that will allow the user to change and see the the colors/image available for that product.

I already wrote the code using html, css, js, jquery. How or is it possible to put this code into that particular page?

Thanks.
__________________
X-Cart Version 4.4.1
Reply With Quote
  #2  
Old 09-17-2013, 02:04 PM
 
Ed Rhone Ed Rhone is offline
 

Member
  
Join Date: Dec 2010
Posts: 25
 

Default Re: Editing a particular product page.

I added the html to the product description, but the js, jq elements are not working. I was reading this post, but not sure if this is what i am looking for.

http://forum.x-cart.com/viewtopic.php?t=13682&sid=773e50d2983433efb0fd8d0c 38af9ea3

Anyone? Thanks.
__________________
X-Cart Version 4.4.1
Reply With Quote
  #3  
Old 09-17-2013, 11:18 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Editing a particular product page.

Different colors/images can be added by creating product options/variants
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 09-18-2013, 07:04 AM
  while.e.kyote's Avatar 
while.e.kyote while.e.kyote is offline
 

Senior Member
  
Join Date: Mar 2013
Posts: 136
 

Default Re: Editing a particular product page.

Might want to look at this : http://mods.x-cart.com/Color-swatches.html as a jumping off point .. We had to do this for materials + colors + price variations and it got too complicated with product variants so we ended up paying QT to do custom code for us which worked out for the best.
__________________
X-Cat 4.5.4 & (1/2)
Live June 1, 2013.
Reply With Quote
  #5  
Old 09-18-2013, 08:25 AM
 
Ed Rhone Ed Rhone is offline
 

Member
  
Join Date: Dec 2010
Posts: 25
 

Default Re: Editing a particular product page.

Quote:
Originally Posted by while.e.kyote
Might want to look at this : http://mods.x-cart.com/Color-swatches.html as a jumping off point .. We had to do this for materials + colors + price variations and it got too complicated with product variants so we ended up paying QT to do custom code for us which worked out for the best.
This is almost exactly what i made, and trying to implement to the store.
__________________
X-Cart Version 4.4.1
Reply With Quote
  #6  
Old 09-18-2013, 08:34 AM
  while.e.kyote's Avatar 
while.e.kyote while.e.kyote is offline
 

Senior Member
  
Join Date: Mar 2013
Posts: 136
 

Default Re: Editing a particular product page.

It all happens in /skin/{yourskin}/customer/main/product_details.tpl but you've probably figured this bit out already.

You'll probably have to do the integration in smarty in that template vs the extra html fields. As the html fields are processed after the blocks which would have the scripts in them in the page.
__________________
X-Cat 4.5.4 & (1/2)
Live June 1, 2013.
Reply With Quote
  #7  
Old 09-19-2013, 08:47 AM
 
Ed Rhone Ed Rhone is offline
 

Member
  
Join Date: Dec 2010
Posts: 25
 

Default Re: Editing a particular product page.

Quote:
Originally Posted by while.e.kyote
It all happens in /skin/{yourskin}/customer/main/product_details.tpl but you've probably figured this bit out already.

You'll probably have to do the integration in smarty in that template vs the extra html fields. As the html fields are processed after the blocks which would have the scripts in them in the page.

Nah, Haven't figured it out, but going to spend some time on it today. That one mod is cool, but the product I have is in three individually colored pieces.
__________________
X-Cart Version 4.4.1
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 06:24 AM.

   

 
X-Cart forums © 2001-2020