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

Applying a custom discount

Started by cleoni, January 23, 2015, 17:55:26 PM

Previous topic - Next topic

cleoni

Hello, I am using VM 2.6.0 for an ecommerce to be launched soon.

I was trying to tweak it so that if I select one of a set of payment methods (typically card+paypal) you get an additional 5$ discount.

I have tried looking for some documentation on methods that can be called or data structures that I can work on inside the php source, but I have found very little or no hints at all.

Can anyone point me in the right direction?

--Chris
--Cris

GJC Web Design

have you tried adding negative numbers in the payment methods Discounts and Fees? (I haven't)
if not hack it into the payment method - it is responsible for the final figure

and if your really using 2.6.0 not only have you missed out on dozens of bug fixes but->
http://virtuemart.net/news/latest-news/462-security-release-of-vm2-6-10-and-vm2-9-9b
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