News:

Looking for documentation? Take a look on our wiki

Main Menu

Insert buy button inside custom component

Started by isengart, November 20, 2015, 13:10:31 PM

Previous topic - Next topic

isengart

Hello , is there any way to dynamically create a product and add a buy button inside a custom component (something like shortcode) ?

balai

#1
The question is a bit abstract

Just putting a button will make no sense.
A form should exist with the proper fields and also the corresponding scripts that call the ajax request for the add-to-cart functionality.

Have a look at the source code inside a product and check the source code

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

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/