News:

Looking for documentation? Take a look on our wiki

Main Menu

custom integration of Amazon's Buy with Prime

Started by yan77, December 30, 2022, 17:58:54 PM

Previous topic - Next topic

yan77

Hi, we were invited to Amazon's buy with prime feature and basically we need to integrate some custom codes on product pages in Virtuemart to give buy options to customers through their Amazon account. Unfortunately the technical team on Amazon side has never worked with any platform besides Shopify and Wordpress. Here is the first question I got, can someone help me to answer this question?;

from Amazon;  "we have not yet worked merchants who are using Virtuemart -are you aware of how to access the product template files and if so, are those editable as that's where we will need to install the code."

Thanks!
   

jenkinhill

The template files are editable and overridable. If using a Joomla template developed for VirtueMart then you will probably have overrides already in place.

The template files are in several directories.

For the default front-end templates:
Joomla_root/components/com_virtuemart/views/productdetails/tmpl
Joomla_root/components/com_virtuemart/sublayouts

For any overrides that may already be in place - and new overrides should go here, too
Joomla_root/templates/your_jooml_template/html/com_virtuemart/productdetails

For back-end templates:
Joomla_root/administrator/components/com_virtuemart/views/product/tmpl

For the new admin template:
Joomla_root/administrator/templates/vmadmin/html/com_virtuemart/product

Templates may also be in the directories within the same local location, eg
Joomla_root/components/com_virtuemart/views/product/tmpl
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum