Medium Description in Dymo Label

tim
(Moved to add-on forums)

I have already sent instructions over email how to display the medium_description in the label. I assume you are the developer and your project leader contacted me?

Basically you just swap out manufacturer with $product->medium_description.
The thing is we looked at this but we cannot extract the medium descryption

These are the only values provided for $product in the dymo class 

ref_product Object ( [_id:ref_product:private] => 9665 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => de [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 9665 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => en [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 9665 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => fr [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 9665 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => es [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 9665 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) )
tim
The ref object is a factory designed object that produces a result upon calling a node. What does the following return?

var_dump($product->medium_description);
This is the part in the vqmod that concerns the ref object:

<file name="includes/references/ref_product.inc.php">
  <operation error="log">
    <search position="after"><![CDATA[
        case 'short_description':
      ]]></search>
    <add><![CDATA[
        case 'medium_description':
      ]]></add>
  </operation>
</file>
Tim,

Below the output of the var_dump

string(21) "Polyester 305 cm hoog" ref_product Object ( [_id:ref_product:private] => 10047 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => de [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 10047 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => en [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 10047 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => fr [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 10047 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => es [1] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) ) ref_product Object ( [_id:ref_product:private] => 10047 [_currency_code:ref_product:private] => EUR [_language_codes:ref_product:private] => Array ( [0] => nl ) [_customer_id:ref_product:private] => [_data:ref_product:private] => Array ( ) )
tim
"Polyester 305 cm hoog"
Looks like it's working.