Just A Newbie![]() 2005-08-31 00:53 | I use the short description for the product code.... |
henrik![]() 2005-08-31 01:40 | I have the exact same problem. The Sort description is ideal for placing the location of the goods. |
gwmbox2008-10-04 05:46 | hmm... been trying to work this one out myself - if I work it out I'll post back here - if you have the answer please let us all know :) |
beholder2008-10-04 23:11 | this is difficult to do guys, you should ask open solution guys to help you commercially. |
gwmbox2008-10-05 15:45 | hmm seems so as I am yet to work this one out - still trying different things. I know the $aData[sDescriptionShort] is what we need but it seems it is not by default added to the orders db content at the time of making the order. I have tried to work out how to add it in as there appears to be various places where this data is used and then recorded and extracted for print but so far no luck - as said I'll keep trying different things and if I get it to work I'll post back - unless the dev's are willing to help... Greg - dogsites.com.au and thatnetsite.com |
gwmbox2008-10-08 03:29 | Ok I have got it working and will post here soon - just trying to work out where the Short Description is given the
<p> and </p>
tags and remove them :) Greg - dogsites.com.au and thatnetsite.com |
gwmbox2008-10-08 03:55 | Ok here goes :)
fwrite( $rFile, $iOrder.'$'.$iProduct.'$'.$iQuantity.'$'.$oProduct->aProducts[$iProduct]['fPrice'].'& #36;'.$oProduct->aProducts[$iProduct]['sName'].'$'.
"\n" );
strip_tags( $oProduct->aProducts[$iProduct]['sDescriptionShort']).'$'.
$oFF->save( DB_ORDERS_PRODUCTS, Array( 'iElement' => $iElement++, 'iOrder' => $aForm['iOrder'], 'iProduct' => $aData['iProduct'], 'iQuantity' => $aData['iQuantity'], 'fPrice' => $aData['fPrice'], 'sName' => $aData['sName']
) );
, 'sDescriptionShort' => strip_tags ($aData['sDescriptionShort'])
, 'sName' => 5
, 'sDescriptionShort' => 6
, 'sName' => $aExp[5]
, 'sDescriptionShort' => $aExp[6]
, 'sName' => 4
, 'sDescriptionShort' => 5
, 'sName' => $aExp[4]
, 'sDescriptionShort' => $aExp[5]
$aData[sDescriptionShort]
to the templates you want the Short Description added to - I have used
- aData[sDescriptionShort]
Greg - dogsites.com.au and thatnetsite.com |