Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Product layout / traslation / zoom issues

Product layout / traslation / zoom issues 11 years 2 weeks ago #4045

Hi my name is Maria, I have recently purchased PureMart template and I have some issues, for which you might help me.

1. First of all I want to disable the "Product Description" tab which is located below the product.
See attachment: Prob1

2. Since I am creating a multilingual site, I am trying to translate "specifications" tab,
"free shipping on orders of 150 € " and "enlarge image" but when I search in language overrides
in the Search Results appears "No matching texts found"
Do you know the appropriate values. See attachment: Prob1

3.
The discount price of the products doesn't look as in your demo
Instead of "you save 40€", "discount 40€" appears and also the deleted list price does not appear above the discount price.
See attachment: Prob2

4. The second zoom when the product photo is already zoomed in, doesn't work.
See attachment: Prob3

Thank you in advance,
Maria
Attachments:
Last Edit: 11 years 2 weeks ago by Maria Evangelidou.
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4055

Hi Maria,

1. simplest way

add to templates/your_template/html/com_virtuemart/assets/css/flexibleVM2Global.css
 
.vmFlyPageBottom {
display:none;
}
 

otherwise comment out that whole section in

templates/your_template/html/com_virtuemart/productdetails/default.php from line 777

2.

www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/794-custom-tabs-translation

3. it's a lang var COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT="You Save: "

the rest is just settings in the VM config - this code around here is all standard VM - just experinent with the settings

what we used is attached

4. this is dicussed here

www.flexiblewebdesign.com/index.php?option=com_kunena&view=topic&catid=18&id=824&Itemid=234

cheers
Attachments:
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4074

Hi John,
thank you for your fast replie, maybe it's my fault, I am a newbie too and I am trying to understand...

1. I want to disable ONLY the "Product Description" tab not all the tabs below the product.

2. I have already read this post www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/794-custom-tabs-translation but it didn't work.
After making the changes that you suggested I search for these two language variables:
PUREMART_SHIP_TAB_TITLE
PUREMART_SHIP_TAB
but the Search Results is still "No matching texts found"

3. it's OK with the lang var "you save" but in the VM config I have the same settings and the problem doesn't fix. See the attachment: price.

Thank you for your time,
Maria.
Attachments:
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4088

1. then you will have to comment out that tab and desc div in the template :
templates/your_template/html/com_virtuemart/productdetails/default.php ~ 780
 
<!--<li class="selected">
            	<a href="javascript:void(0)" rel="#desc"><span><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DESC') ?></span></a></li>-->

don't forget to add the selected class to reviews
 
<?php if ($this->showReview) {?>
            <li class="reviews selected"><a href="javascript:void(0)" rel="#reviews"><span><?php echo JText::_('COM_VIRTUEMART_REVIEWS') ?> <?php

then
div#desc {
display:none;
}
 

2. Don't understand?

what or where are you searching?

You have to make these lang vars yourself - google how to use Joomla Language Overrides

3. you don't explain what the problem is - you asked how to translate the text? or?
Attachments:
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4092

2. I know how to use language overrides, when I search for the words "specifications", "enlarge image" and "free shipping on orders of 150 € " that I want to translate the search result appears "No matching texts found" and the lang values don't show up.
Do I have to create myself the appropriate values? Could you please be more specific...
Thanks
Attachments:
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4094

3. The problem is that even though I have the same settings in the VM configuration that you suggested, the "List Price:" still missing and only the discounted price appears.
Attachments:
Last Edit: 11 years 2 weeks ago by Maria Evangelidou.
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4095

Why are you searching for them - they don't exist unless you make them!!!!!
please look at the screenshots and code
<?php if (!empty($this->product->customfieldsSorted['ontop'])) { ?>
				<li><a href="javascript:void(0)" rel="#SpecificationsBottom"><span>
                                      <!--<?php echo $params->get('productdetails_specs','Specifications'); ?>-->
				<?php echo JText::_('COM_VIRTUEMART_PRODUCT_SPECIFICATIONS'); ?>
                                  </span></a></li>
       		<?php } ?> 
Attachments:
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4096

problem 3.

I really don't know - the only test install I have access to (I don't have access to the www.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=28&virtuemart_category_id=2 site)
doesn't show the crossed out price what ever I do - see screen

As this is standard VM code (it is just copied in our template) it must be something in the VM config but I'm sure you'll agree - VM's price config is the most confusing bollocks I have ever seen..

will give this topic a heads up to the Boss as he has access to the url above..

Please be patient..
Attachments:
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4097

problem 3 - u can't say I don't try..

who ever thought up these labels is an idiot...

this combination works
Attachments:
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4122

Problem 3 solved... thanks!!!
The other 2 problems... I am trying but... no luck!
The topic has been locked.

Product layout / traslation / zoom issues 11 years 2 weeks ago #4125

need far more feedback than that!

If you follow my directions it will work..

Cheers
The topic has been locked.

Product layout / traslation / zoom issues 11 years 1 week ago #4211

Finally, I managed to solve all my problems, I had to edit the templates/your_template/html/com_virtuemart/productdetails/flexv2.php and not the templates/your_template/html/com_virtuemart/productdetails/default.php
Please help me for two more issues.
1. I want the related product tabs to be the first one instead of the reviews tab.
2. Which is the code that I have to add to make new values for "Enlarge Images" and "Special Offer Box"?
Thank you for your valuable help.
Maria.
The topic has been locked.

Product layout / traslation / zoom issues 11 years 1 week ago #4214

1. You need to swap them in the code - as simple as that

2. Use exactly the same technique as in the tab translation

enlarge is line 303
<a href="#enlarge" class="FlexibleEnlargeView"><?php echo $params->get('productdetails_enlarge','Enlarge Images'); ?></a>
 

to
<!--<a href="#enlarge" class="FlexibleEnlargeView"><?php echo $params->get('productdetails_enlarge','Enlarge Images'); ?></a>-->
 
<a href="#enlarge" class="FlexibleEnlargeView"><?php echo JText::_('MY_ENLARGE'); ?></a>
 


and

 
<?php 
	 $SpecialText = $params->get('productdetails_special');
	 if (!empty($SpecialText)) { ?>
            <div class="FlexibleProductDetailsSpecialNoteVersion2"><?php echo $SpecialText; ?></div>
            <div class="clear"></div>
            <?php } ?>
 

to
 
<?php 
	// $SpecialText = $params->get('productdetails_special');
         $SpecialText =  JText::_('MY_OFFER');
	 if (!empty($SpecialText)) { ?>
            <div class="FlexibleProductDetailsSpecialNoteVersion2"><?php echo $SpecialText; ?></div>
            <div class="clear"></div>
            <?php } ?>
 
The topic has been locked.

Product layout / traslation / zoom issues 11 years 1 week ago #4294

Thanks for the help!!!
The topic has been locked.

Product layout / traslation / zoom issues 11 years 6 days ago #4307

No prob..

topic solved
The topic has been locked.
Time to create page: 0.279 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo