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

Pass Product Detail To Javascript

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-07-2016, 09:32 PM
 
vigneshkutty vigneshkutty is offline
 

Member
  
Join Date: Jul 2016
Posts: 24
 

Default Pass Product Detail To Javascript

Hi

In My Store (x cart 5.2.1.x), In Customer End if Customer Click a Product and Click add To Cart Then I want Show one POP-UP to Customer about Current product Detail of Customer Click product.

Kindly Suggest me How Pass all variable related to product that Click by user to java Script to Show POP_Up..

Awaiting For reply...

Thanks
Vignesh
__________________
kutty
Reply With Quote
  #2  
Old 09-22-2016, 09:23 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Pass Product Detail To Javascript

Hello,

There are no "variables". X-Cart 5 works differently. The page is made of a number of "widgets". Every widget is a PHP class that handles all the logic, and a template file that uses methods provided by the class. So, there is no single place where "variables" are defined. Instead, there are multiple classes that define methods supplying data to templates.

You should enable the webmaster mode and determine what existing widgets render the data you need. Then check the source code of these widgets and implement a similar logic in your custom widgets.

For developer's documentation please refer to the portal at http://devs.x-cart.com/
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 09-23-2016, 01:12 AM
 
vigneshkutty vigneshkutty is offline
 

Member
  
Join Date: Jul 2016
Posts: 24
 

Thumbs up Re: Pass Product Detail To Javascript

Hi

Thanks For reply, i think i didn't explain you clearly my requirement but i got my requirement recent days.


Once again thanks

Thanks

kutty

x-cart 5.2.15
__________________
kutty
Reply With Quote
  #4  
Old 09-23-2016, 05:46 AM
 
RexxBattery RexxBattery is offline
 

Member
  
Join Date: Aug 2016
Posts: 13
 

Default Re: Pass Product Detail To Javascript

Quote:
Originally Posted by vigneshkutty
Hi

Thanks For reply, i think i didn't explain you clearly my requirement but i got my requirement recent days.


Once again thanks

Thanks

kutty

x-cart 5.2.15


How did you achieve this? Please let us know, thank you.
__________________
5.2.16
Cloud Search
Market Price
Volume Discounts
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 04:17 AM.

   

 
X-Cart forums © 2001-2020