bradrob
Starting Member
United Kingdom
14 Posts |
Posted - April 10 2013 : 05:18:13
|
I have managed to resolve this issue, but probably not the best way to do things as i have to extract the information from a large html string of the whole product information.
I will post full information on my blog regarding my method but basically here is a brief description of what i had to do.
ArrCart(cProductName, i)
This value from the cart array contains the whole html layout of the product in the cart, so when you complete your order normally the layout of the product on the screen when finished is the html in this field of the array, we want to save this to a variable. I have also requested the feature id numbers from the cart.
ArrCart(cProductfeatures,i)
Once i have the feature id''s from the cart i ran a query on the database to get me the string of text for the feature id i will use this to detect where to start and stop the instr function from.
Once i have got the lines of text using the instr function i will then need to clean it as it will contain html code for formatting, how you do this is your own choice whether you use the cleanchars built into the system or create your own.
Thanks Brad |
Edited by - bradrob on April 10 2013 05:26:43 |
|
|