News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Shipping cost by the product detailsite and legal information

Started by sign-p, January 06, 2015, 12:20:39 PM

Previous topic - Next topic

sign-p

Hello at all,

for german shops we need two thing this will a most of european laws.

1) on the product detail site (flypage) it should be a link to the shipping cost shown, directly by the prices of the products.
i have done this in the prices.php at the end with this code

<p> </p>
<a href="mylink">shipping coast</a>
<p> </p>

But i have a multilingual shop and i need this in more languages and the link should go to the rigth content of joomla in the right language
How can i do this, or can some one show me the code for this?


2) on the chart at the end it will shown a link and a option field for "legal information", so we need a second for the "right of withdrawal"
how can i do this and where can i find the file to do this.

Thanks best regards Thomas

GJC Web Design

1) a lang constant for the label
detect language and have a if statement to show the correct link or a ......&lang=<?php echo $detectedlang; ?>

2) chart at the end???  You mean the cart?

no versions given or link.. but will be \components\com_virtuemart\views\cart\tmpl\default.php - over ride it
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

sign-p

Hello, thanks for your answer.

Joomla 3.x the last version
Virtuemart 3.0.2

Can you write me what i must change exactly in the script? Sorry my PHP/HTML is not good enough to do this allone.
I have send you an attachemt for them i neet the two legal informations

Thanks best regards Thomas

[attachment cleanup by admin]

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bluezeyes

For the withdrawal thing...

Create a custom user field type Boolean..  name it iow
Options required,
Copy the sub layout file tos.php to iow.php
Create Lang overrides for the text to show (check the tos field / overrides as reference)
Edit the iow.php to load the correct article ... Use the tips from GJC  for language switching too..