Product options view and discription

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeProduct options view and discription

This topic has been marked as resolved.

At the checkout and on customers invoice the options input that the customer enters cannot be viewed in full. I used the following mod to adjust the view so that every option that was enter could be viewed in full.

This was the vqmod I used before and it worked really well. How can I get this to work with Pavillion? Any help would be great.

 <modification>         
  <id>Longer Product Option Description in Cart</id>         
    <author>djkfunk</author>
  <version>1.0</version>
  <vqmver>2.4.1</vqmver>         
<file name="catalog/controller/checkout/cart.php">                 
  <operation>                         
      <search position="replace"><![CDATA[                        
      'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)                        
      ]]></search>                         
      <add><![CDATA[                         
      'value' => (wordwrap($value) > 30 ? utf8_substr($value, 0, 30) : $value)                      
      ]]></add>                 
  </operation>                        
</file> 
<file name="catalog/controller/checkout/confirm.php">                 
  <operation>                         
      <search position="replace"><![CDATA[                        
      'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)                       
      ]]></search>                         
      <add><![CDATA[                         
      'value' => (wordwrap($value) > 30 ? utf8_substr($value, 0, 30) : $value)                     
      ]]></add>                 
  </operation>                        
</file> 
<file name="catalog/controller/checkout/order.php">                 
  <operation>                         
      <search position="replace"><![CDATA[                        
      'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)                       
      ]]></search>                         
      <add><![CDATA[                         
      'value' => (wordwrap($value) > 30 ? utf8_substr($value, 0, 30) : $value)                     
      ]]></add>                 
  </operation>                      
</file> 
<file name="catalog/controller/account/order.php">                 
  <operation>                         
      <search position="replace"><![CDATA[                        
      'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)                       
      ]]></search>                         
      <add><![CDATA[                         
      'value' => (wordwrap($value) > 30 ? utf8_substr($value, 0, 30) : $value)                     
      ]]></add>                 
  </operation>                          
</file> 
<file name="catalog/model/checkout/order.php">                 
  <operation>                         
      <search position="replace"><![CDATA[                        
      'value' => (utf8_strlen($value) > 20 ? utf8_substr($value, 0, 20) . '..' : $value)                       
      ]]></search>                         
      <add><![CDATA[                         
      'value' => (wordwrap($value) > 30 ? utf8_substr($value, 0, 30) : $value)                     
      ]]></add>                 
  </operation>                          
</file> 
</modification>

January 24, 2015 at 6:08 pm #37123

Here is a screenshot of the issue.

January 24, 2015 at 6:09 pm #37124

Issue resolved.

Updated to the latest version of vQmod.

Instructions are here..
https://github.com/vqmod/vqmod/wiki/Installing-vQmod-on-OpenCart

Latest version of vQmod for opencart can be found here..
https://github.com/vqmod/vqmod/releases

January 24, 2015 at 6:33 pm #37127

Thanks for the update. Marking the topic as “resolved”.

BR,
ThemeBurn team

January 28, 2015 at 12:09 pm #37300
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.