VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: tommyboy0485 on January 02, 2017, 06:03:34 AM

Title: Change shipping text on prodoct page
Post by: tommyboy0485 on January 02, 2017, 06:03:34 AM
Greetings, I am trying to change or remove  "With shipment Regular Mail for $10.00"  on the product page next to the "add to cart" button and price.  I've looked all over in the admin pannel along with virtumart and cant find it. Any help would be appreciated. 

Happy New Year!
Mark
#followYourEfforts

Joomla version, 3.4.3.
VirtueMart 3.0.18
Title: Re: Change shipping text on prodoct page
Post by: Jörgen on January 02, 2017, 10:07:53 AM
Hello

This is probably one of Your shipment options that writes this. You can search for the text in overrides in Joomla language manager. There You can alter the text.

You can probably remove this by deactivating this option in Your shipment method.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Change shipping text on prodoct page
Post by: aftertaf on January 02, 2017, 11:21:29 AM
I got rid of this by commenting out the lines that display this text, in the productdetails default.php page. See here -> http://forum.virtuemart.net/index.php?topic=90935.msg298367#msg298367

You'd be better to override this page with your own version of the default.php.
Title: Re: Change shipping text on prodoct page
Post by: Jumbo! on January 02, 2017, 11:40:01 AM
Open each of your Shipment Method's settings and disable the option called "Show on product details page". See the below screenshot for ready reference.


(https://s28.postimg.org/qpe5p0fgt/shipment.png)
Title: Re: Change shipping text on prodoct page
Post by: jenkinhill on January 02, 2017, 12:50:05 PM
This has been a configurable option for about a year now.

@tommyboy0485 you must update your Joomla. https://virtuemart.net/news/latest-news/478-joomla-security-release-3-6-5-and-patch-for-joomla-2-5-28
Title: Re: Change shipping text on prodoct page
Post by: aftertaf on January 02, 2017, 19:41:12 PM
thing is, when i turn if off and then save the change, on reloading page its still set to yes.
Its mandatory in some countries: is there something forcing it to stay on for me in France ?