No prices on products at StoreFrontpage

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Feb 22, 2015 3:22 pm
Reply with quote
Report this post
Hello,

The standard installation of Shop an Buy 3.0 does not show prices in Shop for example in the Top Ten Products in Store Frontpage

https://dl.dropboxusercontent.com/u/147 ... _price.png

You could also see this here:

http://www.equi-zuechter.de/index.php/shop

Here i migrate only products.

How can i show there prices?



BR
User avatar
Junior Boarder

teitbite
Sun Feb 22, 2015 7:03 pm
Reply with quote
Report this post
Could you please provide me with a URL to your website and back-end access via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

teitbite
Sat Feb 28, 2015 10:10 am
Reply with quote
Report this post
Hi

Please try to rename /html/com_virtuemart/category to /html/com_virtuemart/_category and let me know if this makes a difference.
User avatar
Moderator

GK User
Sun Mar 01, 2015 3:23 pm
Reply with quote
Report this post
teitbite wrote:Hi

Please try to rename /html/com_virtuemart/category to /html/com_virtuemart/_category and let me know if this makes a difference.


This doesn´t work. Now, I solved the Problem with these code at the file "default_products" in

/template/gk_shop_and_buy/html/com_virtuemart/virtuemart/

at line 43

Code: Select all
// Show Products ?>
      <div class="product floatleft<?php echo $cellwidth . $show_vertical_separator ?>">
         <div class="spacer">
            <?php // Product Image
            if ($product->images) {
               echo '<div>';
               echo JHTML::_ ( 'link', JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( 'class="featuredProductImage" border="0"', false,'class="modal"' ) );
               echo '</div>';
            }
            ?>   
            <?php // AFTER THIS IS THE NEW CODE#########################?>      
            <div>
               <h3 class="catProductTitle"><?php echo JHTML::link ( JRoute::_ ( 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id, FALSE ), $product->product_name, array ('title' => $product->product_name ) ); ?></h3>
               <span class="catProductPrice">
               <?php
                  
                     echo $this->currency->createPriceDiv('salesPrice', '', $product->prices);
                     echo $this->currency->createPriceDiv('taxAmount', JText::_('TPL_GK_LANG_VM_INC_TAX'), $product->prices);
                   ?>
               </span>
               <a href="<?php echo $product->link; ?>" class="readon"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'); ?></a>
            </div>
            
         </div>
      </div>


I hope it is correct. But it works.

BR
User avatar
Junior Boarder

teitbite
Thu Mar 05, 2015 11:52 am
Reply with quote
Report this post
Hi

Sorry for delay. Was without a computer for the last couple of days.

Yes this is a good solution, sorry looks like I diagnosed it wrong and was looking in a wrong folder: /html/com_virtuemart/category ;/
User avatar
Moderator


cron