BUNDLE CAR AND QUARK...

Support desk for Multipurpose Quark Theme
GK User
Mon Oct 31, 2016 11:20 am
Hi. I am using a module "BUNDLE" to improve sales conversion, which allows one-click add multiple products at discounted prices to cart. Everything works, but when I set the "Custom Field" VirtueMart 3, the position in the LAYOUT: ONTOP, AddToCart, NORMAL, ONBOT, RELATD_PRODUCTS, RELATED_CATEGORIES, or blank, the template "QUARK" no poisiona this BUNDLE ON WAY PROPER based on configuration ... * I have already used this plugin with another template of GAVICK_PRO: Shop and Buy, and this does not happen ... the problem happens only with the template "QUARK"
* The website is the same http://www.festxxxxxxx.it in which we worked for months, you already have all the accesses.
** I send you some pictures ... thanks.

Any idea how to solve these problems. Thanks, greetings from Italy. René. :?: :idea:

BUNDLE_QUARK.jpg
User avatar
Platinum Boarder

teitbite
Fri Nov 04, 2016 6:56 pm
Hi

I've edited file /html/com_virtuemart/productdetails/default.php and moved:

Code: Select all
               <div class="product-description">
                    <?php
               // Product Description
               if (!empty($this->product->product_s_desc)) :
            ?>
                    <p>
                         <?php echo nl2br($this->product->product_s_desc); ?>
                    </p>
                    <?php
                endif; // Product Description END
      
         $product = $this->product;
         $position = 'normal';
         $class = 'product-fields';
         
         if (!empty($product->customfieldsSorted[$position])) {
            ?>
                    <?php foreach ($product->customfieldsSorted[$position] as $field) {
                  if ( $field->is_hidden ) //OSP http://forum.virtuemart.net/index.php?topic=99320.0
                  continue;
                  ?>
                    <dl class="product-field product-field-type-<?php echo $field->field_type ?>">
                         <?php if ($field->custom_title != $custom_title and $field->show_title) : ?>
                         <dt><?php echo vmText::_ ($field->custom_title) ?></dt>
                         <?php endif; ?>
                         <?php if (!empty($field->display)) : ?>
                         <dd class="product-field-display"><?php echo $field->display ?></dd>
                         <?php endif; ?>
                         <?php if (!empty($field->custom_desc)) : ?>
                         <dd class="product-field-desc"><?php echo vmText::_($field->custom_desc) ?></dd>
                         <?php endif; ?>
                    </dl>
                    <?php
                  $custom_title = $field->custom_title;
               } ?>
                    <?php
         }
         ?>
                    <?php 
            // Ask a question about this product
            if (VmConfig::get('ask_question', 0) == 1) :
               $askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component', FALSE);
               ?>
                    <p>
                         <a class="ask-a-question" href="<?php echo $askquestion_url ?>" rel="nofollow" ><?php echo vmText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a>
                    </p>
                    <?php endif; ?>
               </div>


below add to cart code.
User avatar
Moderator

GK User
Mon Dec 12, 2016 7:47 pm
Hi, thanks a lot for the solution, now it works fine. I apologize for the delay in responding, I have been in poor health. Thanks greetings. René
User avatar
Platinum Boarder

teitbite
Thu Dec 15, 2016 3:49 pm
Hi

No problem with delay. Hope You're feeling fine already. Closing this thread now.
User avatar
Moderator


cron