I have a series of domains which share a single installation of Joomla [url removed, login to view] / VirtueMart 1.1.3, however the Virtuemart configuration file (/administrator/components/[url removed, login to view]) has a hard-coded URL/Secure URL:
// these path and url definitions here are based on the Joomla! Configuration
define( 'URL', '[url removed, login to view]' );
define( 'SECUREURL', '[url removed, login to view]' );
which means that the Ajax 'Add to cart' button will only work when the domain is specified in this format.
It is possible to resolve this by switching off the Ajax functionality, or by using .htaccess to redirect to a single domain, but neither of these solutions is appropriate.
I require a solution which would allow multiple definitions of URL, or define a single URL based on the domain as typed by the end-user.
i.e. Define valid values for URL as any one of [url removed, login to view], [url removed, login to view], [url removed, login to view]
If the end-user types the address [url removed, login to view] in the address bar, then pass this value to the definition of URL.
6 freelancers estão ofertando em média $71 para esse trabalho
Dear Sir I have experience and expertise in joomla virtuemart. Please view PMB about my developed joomla virtuemart sites. I hope that you will provide this job to me and reply to me as soon as possible. Regards Raj