عيد مبارك سعيد

[إسمك هنا]

كل عام و انتم سعداء اتقياء
بقلوب بيضاء
و وجوه مشرقة مبتسمة
كل عام و انتم امنين مطمئنين
كل عام و الفرح يعم حياتكم و العافية تغلف اجسادكم
كل عام و انتم بخير
تقبل الله منا و منكم صالح الاعمال
اللهم آمين

هنئ اصدقائك بمناسبة عيد الفطر المبارك
قم بكتابة اسمك وقم بمشاركة الرسالة مع اصدقائك






































































mardi 25 août 2015

Hikashop productbeschrijving boven afbeelding krijgen

Ik heb in Hikashop op de productpagina de productbeschrijving behoorlijk ver onder mijn afbeeldingen staan waardoor het haast niet opvalt dat er belangrijke informatie over het artikel onder staat.
Daarom wil ik graag de productbeschrijving boven de afbeelding en keuze opties hebben.

Op het Hika forum gaven ze het advies om in het listing_img_desc.php bestand het gedeelte tussen <!-- PRODUCT DESCRIPTION --> / <!-- EO PRODUCT DESCRIPTION --> bòven het image gedeelte te plaatsen.

Dit heb ik gedaan maar dat werkt bij mij helaas niet.
Ik werk wel met een kopie van Protostar ( Protostar(2) genaamd ), maar die staat er niet tussen in de weergave lijst van Hika, alleen maar Protostar.
Desalniettemin heb ik voor de zekerheid ook nog een kopie gemaakt van Protostar(2) die ik een andere naam heb gegeven om te kijken of die er dan wel tussen stond, maar die staat ook niet in de weergave lijst.

Ik heb ook al geprobeerd om het gewijzigde bestand meteen te uploaden in de betreffende map op de server, maar ook zonder resultaat.

Ik doe dus op de een of andere manier wel wat fout, maar ik weet niet wat.
Mijn vraag is dus: Hoe kan ik de beschrijving van de artikelen bovenaan de productpagina krijgen, dus boven het artikel en de keuze opties, ipv er onder?

PHP Code:

<?php
/**
 * @package    HikaShop for Joomla!
 * @version    2.5.0
 * @author    hikashop.com
 * @copyright    (C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
 * @license    GNU/GPLv3 http://ift.tt/123eJOw
 */
defined('_JEXEC') or die('Restricted access');
?><?php
$height 
$this->newSizes->height;
$width $this->newSizes->width;
$link hikashop_contentLink('product&task=show&cid='.$this->row->product_id.'&name='.$this->row->alias.$this->itemid.$this->category_pathway,$this->row);

if(!empty(
$this->row->extraData->top)) { echo implode("\r\n",$this->row->extraData->top); }
?>
<table>
    <tr>
        <td valign="top">
            <div class="hikashop_product_item_left_part">
            <!-- PRODUCT DESCRIPTION -->
                <div class="hikashop_product_desc" style="text-align:<?php echo $this->align?>">
                    <?php
                    
echo preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->row->product_description);
                    
?>
                </div>
                <!-- EO PRODUCT DESCRIPTION -->
                <!-- PRODUCT IMG -->
                <?php if($this->config->get('thumbnail',1)){ ?>
                <div style="height:<?php echo $this->image->main_thumbnail_y;?>px;text-align:center;clear:both;" class="hikashop_product_image">
                    <div style="position:relative;text-align:center;clear:both;width:<?php echo $this->image->main_thumbnail_x;?>px;margin: auto;" class="hikashop_product_image_subdiv">
                    <?php if($this->params->get('link_to_product_page',1)){ ?>
                        <a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
                    <?php }
                        
$image_options = array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside'));
                        
$img $this->image->getThumbnail(@$this->row->file_path, array('width' => $this->image->main_thumbnail_x'height' => $this->image->main_thumbnail_y), $image_options);
                        if(
$img->success) {
                            echo 
'<img class="hikashop_product_listing_image" title="'.$this->escape(@$this->row->file_description).'" alt="'.$this->escape(@$this->row->file_name).'" src="'.$img->url.'"/>';
                        }
                        
$main_thumb_x $this->image->main_thumbnail_x;
                        
$main_thumb_y $this->image->main_thumbnail_y;
                        if(
$this->params->get('display_badges',1)){
                            
$this->classbadge->placeBadges($this->image$this->row->badges, -100);
                        }
                        
$this->image->main_thumbnail_x $main_thumb_x;
                        
$this->image->main_thumbnail_y $main_thumb_y;

                    if(
$this->params->get('link_to_product_page',1)){ ?>
                        </a>
                    <?php ?>
                    </div>
                </div>
                <?php ?>
                <!-- EO PRODUCT IMG -->

                <!-- PRODUCT PRICE -->
                <?php
                
if($this->params->get('show_price','-1')=='-1'){
                    
$config =& hikashop_config();
                    
$this->params->set('show_price',$config->get('show_price'));
                }
                if(
$this->params->get('show_price')){
                    
$this->setLayout('listing_price');
                    echo 
$this->loadTemplate();
                }
                
?>
                <!-- EO PRODUCT PRICE -->

                <!-- PRODUCT VOTE -->
                <?php
                
if($this->params->get('show_vote_product')){
                    
$this->setLayout('listing_vote');
                    echo 
$this->loadTemplate();
                }
                
?>
                <!-- EO PRODUCT VOTE -->

                <!-- ADD TO CART BUTTON AREA -->
                <?php
                
if($this->params->get('add_to_cart') || $this->params->get('add_to_wishlist')){
                    
$this->setLayout('add_to_cart_listing');
                    echo 
$this->loadTemplate();
                } 
?>
                <!-- EO ADD TO CART BUTTON AREA -->

                <!-- COMPARISON AREA -->
                <?php
                
if(JRequest::getVar('hikashop_front_end_main',0) && JRequest::getVar('task')=='listing' && $this->params->get('show_compare')) { ?>
                    <br/><?php
                    
if( $this->params->get('show_compare') == ) {
                        
$js 'setToCompareList('.$this->row->product_id.',\''.$this->escape($this->row->product_name).'\',this); return false;';
                        echo 
$this->cart->displayButton(JText::_('ADD_TO_COMPARE_LIST'),'compare',$this->params,$link,$js,'',0,1,'hikashop_compare_button');
                    } else { 
?>
                        <input type="checkbox" class="hikashop_compare_checkbox" id="hikashop_listing_chk_<?php echo $this->row->product_id;?>" onchange="setToCompareList(<?php echo $this->row->product_id;?>,'<?php echo $this->escape($this->row->product_name); ?>',this);"><label for="hikashop_listing_chk_<?php echo $this->row->product_id;?>"><?php echo JText::_('ADD_TO_COMPARE_LIST'); ?></label>
                    <?php }
                } 
?>
                <!-- EO COMPARISON AREA -->
            </div>
        </td>
        <td valign="top">
            <div class="hikashop_product_item_right_part">
                <h2>
                <!-- PRODUCT NAME -->
                    <span class="hikashop_product_name">
                        <?php if($this->params->get('link_to_product_page',1)){ ?>
                            <a href="<?php echo $link;?>">
                        <?php ?>
                                <?php
                                
echo $this->row->product_name;
                                
?>
                        <?php if($this->params->get('link_to_product_page',1)){ ?>
                            </a>
                        <?php ?>
                    </span>
                <!-- EO PRODUCT NAME -->

                <!-- PRODUCT CODE -->
                    <span class='hikashop_product_code_list'>
                        <?php if ($this->config->get('show_code')) { ?>
                            <?php if($this->params->get('link_to_product_page',1)){ ?>
                                <a href="<?php echo $link;?>">
                            <?php }
                            echo 
$this->row->product_code;
                            if(
$this->params->get('link_to_product_page',1)){ ?>
                                </a>
                            <?php ?>
                        <?php ?>
                    </span>
                <!-- EO PRODUCT CODE -->
                </h2>

                <?php if(!empty($this->row->extraData->afterProductName)) { echo implode("\r\n",$this->row->extraData->afterProductName); } ?>

            </div>
        </td>
    </tr>
</table>
<?php if(!empty($this->row->extraData->bottom)) { echo implode("\r\n",$this->row->extraData->bottom); } ?>


.


Hikashop productbeschrijving boven afbeelding krijgen

بحث هذه المدونة الإلكترونية

Fourni par Blogger.

أرشيف المدونة الإلكترونية

التسميات

Signaler un abus

Articles les plus consultés

من أنا

إسمك هنا



شارك عبر الماسنجر شارك عبر الواتساب