Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Translate Megadeal II

Featured Lock Resolved Task
Hi,
How and where to translate "Quantity?

Attachments (1)

  • Picture1.jpg
    Picture1.jpg 29.5 KB

6 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Ok, in that case please check that one:
templates\shaper_megadeal_ii\html\com_virtuemart\cart\padded.php

<p class="popup-cart-product-quantity">
<span>Quantity: </span>
<?php echo $product->quantity; ?>
</p>

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
all those :

#Virtuemart#
COM_VIRTUEMART_PRODUCT_YOU_SAVE="You Save"
COM_VIRTUEMART_PRODUCT_REVIEW_TITLE="Reviews"
COM_VIRTUEMART_PRODUCT_ADDITIONAL_TITLE="Additional Information"
COM_VIRTUEMART_PRODUCT_BOX_TITLE="Box Title"
COM_VIRTUEMART_PRODUCT_CHILD_CAT_TITLE="Child Category"
COM_VIRTUEMART_PRODUCT_ASK_QUES="Ask a Question"
COM_VIRTUEMART_PRODUCT_DISCOUNT="Discount"
COM_VIRTUEMART_TIME_LEFT_BUY="Time Left to buy"
COM_VIRTUEMART_QUANTITY="Quantity"
COM_VIRTUEMART_PRODUCT_AVAILABILITY="Availability"
COM_VIRTUEMART_PRODUCT_STOCK="In stock"
COM_VIRTUEMART_PRODUCT_OUT_OF_STOCK="Out of stock"
COM_PRICELIST-WRAPPER="Order Summary"
COM_CATEGORIES_DETAILS="Details"

#virtuemart popup cart#
COM_VIRTUEMART_POPUP_PRODUCT_ADDED_SUCCESS="Product successfully added to"
COM_VIRTUEMART_POPUP_YOUR_SHIPING_CART="Your Shopping Cart"
COM_VIRTUEMART_CART_SHOW_TITLE="Proceed to Checkout"
#Login-Module#
MEGADEAL2_LOGIN="Login or Signup"
MOD_LOGIN_FORGOT="Forgot"
MOD_LOGIN_FORGOT_USERNAME="Username"
MOD_LOGIN_OR="or"
MOD_LOGIN_FORGOT_PASSWORD="Password"
MOD_NEW_REGISTER="New Here?"
MOD_JLOGIN_TITLE="Create Your Account"
MOD_SINGUP_TITLE="Already Registered"
MOD_SINGUP_BUTTON="Sign up"
MOD_LOGIN_VALUE_USERNAME="Name"
MOD_LOGIN_VALUE_EMAIL="Email Id"
MOD_LOGIN_VALUE_ADDRESS="Address"
MOD_LOGIN_HI="Hi "


are inside template language file :
en-GB.tpl_shaper_megadeal_ii.ini

dario

More than a month ago #Permalink
Hi!
Thank you for your answer but, unfortunatelly, I had no success with this.
It turns out that COM_VIRTUEMART_QUANTITY key actually translates "quantity" word in article itself but not in article pop-up window (please see attached screenshot in my previous post).
Is there translation key that constrols "quantity" word in pop-up window?

Rob

More than a month ago #Permalink
find in: templates\shaper_megadeal_ii\html\com_virtuemart\cart\padded.php
the following text:

<p class="popup-cart-product-quantity">
<span>Quantity: </span>
<?php echo $product->quantity; ?>
</p>


Change it to:


<p class="popup-cart-product-quantity">
<span><?php echo JText::_('COM_VIRTUEMART_QUANTITY'); ?>: </span>
<?php echo $product->quantity; ?>
</p>


Now the word you are using in file: language/your land-codes/ (your land-codes).com_virtuemart.ini
is being used in the popup :p

Miroslav Baka

More than a month ago #Permalink
Would be nice to have this updated. Question is from October 2017, resolved but no change in the templates\shaper_megadeal_ii\html\com_virtuemart\cart\padded.php in 8/2018.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 105
Sifat

Sifat

Total Accepted Answers: 104
Toufiq

Toufiq

Total Accepted Answers: 36
Pavel

Pavel

Total Accepted Answers: 4
J

johnny

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us