Author Topic: Retrive unpublished products (Dev of upsale plugin)  (Read 2656 times)


  • Jr. Member
  • **
  • Posts: 55
Retrive unpublished products (Dev of upsale plugin)
« on: October 02, 2015, 10:54:59 AM »

We are working on custom upsale plugin for VM3 on (J! 3).

The purpose of this plugin is to offer an additional BONUS product at a discounted price, when shopper clicks ADD TO CART.

The problem is that we need to display this BONUS product only inside this PLUGIN - the BONUS product should not be visible / buyable in the VM shop.

So we are  thinking to create several BONUS products which are UNPUBLISHED - but then we need to display them ONLY inside the plugin.

Can we retrieve from DB the unpublished product somehow?


Are there any other ways to accomplish this?

Your help will be appreciated.

best regards

J! 3.4.4

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10882
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Retrive unpublished products (Dev of upsale plugin)
« Reply #1 on: October 02, 2015, 18:26:43 PM »
just a simple query for unpub products but you may hit problems with not being able to checkout with unpub products

what a bout prods in an unpub. category?
GJC Web Design
VirtueMart and Joomla Developers - php developers
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
Contact for any VirtueMart or Joomla development & customisation