| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Retrive POST data Value | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Retrive POST data Value
Hi X-Cart Team,
I have X-cart 5 store With REST API, And also i develop one more new customer end using REST API. In my new customer end,i showed category and product as well as ,if customer brought any product then it added in my X- Cart 5 store customer cart page. when i added (POST ) such product detail,attributes detail and quantity detail it shown in cart page but if i Added(POST) one more detail like website name among these, it doesn't came?? can you suggest have can retrieve that particular added detail? i tried retrieve but it failed return (int) \XLite\Core\Request::getInstance()->product_id (it gives which productid i have added in my new customer end and came to my store cart page) as same as i use return \XLite\Core\Request::getInstance()->website_name it doesn't came to my store cart page?? kindly guide me ASAP, Awaiting For Your Reply Thanks, Kutty xcart 5.2.15
__________________
kutty |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Retrive POST data Value
\XLite\Core\Request::getInstance()->website_name should work.
Did you check the request on the Network tab in the browser? Is the parameter sent by the browser actually?
__________________
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|