News:

Looking for documentation? Take a look on our wiki

Main Menu

Include metadata in orders

Started by EvanGR, July 05, 2021, 08:34:21 AM

Previous topic - Next topic

EvanGR

Hello,

I want to save some hidden metadata along with each order.
For example, I want to know if an order was done via a referral/affiliate link. (and be able to view that in the VM Orders page).

Any tips on this appreciated. Thanks!

pinochico

I use ShopTracker plugin from Rupostel
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

EvanGR

Thank you.

I have this plugin enabled, but I don't see any referral info saved with the orders.

I think I need a custom solution...

1) I can store the referral data (and other analytics data) in user's local storage.
2) When completing the order, I want to save it with the order, so I can see it in the VM backend, in the Order page.

it's the step 2 I am not sure how to do.

pinochico

QuoteI want to save it with the order, so I can see it in the VM backend, in the Order page

Yes,
I send you order detail with saved track referral URL - do you remember?
I see this info in order detail in admin and in DB - look at the picture.

Why do you write again and again, if this function is ok?

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products