5 votes
Accepted

Remove 'add to cart' button on all Virtuemart views except in productdetails

I am able to replace virtuemart 'add to cart' button. I am able to achieve it by help from Studio42 on virtuemart forum, discussion on this url. The following set of code, with php only will work: /...
user avatar
  • 232
4 votes
Accepted

Migrating from joomla 1.5 to 2.5 along with VirtueMart 1.9 to the supported version with 2.5

Migrating Joomla 1.5 to 2.5 might be a complex process, depending on what extensions you have on your current website. It's almost never a one-click process. The same goes for Virtuemart. VirtueMart 2....
user avatar
  • 13.3k
4 votes
Accepted

How to transfer user data from a VM1 to a VM3 website?

If you want to preserve your sanity, don't even try to perform migration manually. I have used Daycounts VM Migrator https://www.daycounts.com/shop/virtuemart-3/virtuemart-2-migrator.htm for ...
user avatar
  • 3,017
4 votes
Accepted

Virtuemart: Echo order_number on cart/order_done page

order_done.php require_once(JPATH_VM_ADMINISTRATOR.DS.'models'.DS.'orders.php'); $order = VirtueMartModelOrders::getOrder($this->cart->virtuemart_order_id); echo $order['details']['BT']->...
user avatar
4 votes

The safety of direct SQL-requests in Joomla templates/views

Joomla is built on the MVC design pattern, so querying the db from a view is bad practice. But with your scenario, let's consider a few alteratives: changing the model: this makes no sense: you can't ...
user avatar
3 votes

Migrate Virtuemart from Joomla 1.5 to Joomla 3.3

If you want to preserve your sanity, don't even try to perform migration manually. I have used Daycounts VM Migrator https://www.daycounts.com/shop/virtuemart-3/virtuemart-2-migrator.htm for ...
user avatar
  • 3,017
3 votes
Accepted

How to load 3rd party component's model to my custom component?

There is no standard way to integrate 3rd party component's model. Every developer implements its own way. After integrating 50+ plugins in AutoTweetNG and Joocial, the method that usually works is ...
user avatar
  • 7,415
3 votes

How to add a custom dropdown field for a product in VirtueMart?

Try this, Components -> Virtuemart -> Products -> Custom Fields -> create new filed as new List option Then select it in product details page custom fields section Assume that you are ...
user avatar
  • 1,507
3 votes
Accepted

Virtuemart modal box not working

Go to your Virtuemart -> Configuration -> Templates tab and locate the following setting: Then change the setting of "Use Fancybox". If it is checked, try unchecking it, and vice verse. VirtueMart ...
user avatar
  • 13.3k
3 votes

How to extend component helper class?

Following the example in the Joomla documentation, create a system plugin to override the helper class containing the following code: class plgSystemComVirtuemartOverride extends JPlugin { public ...
3 votes

Joomla 3.4.4 - URL Problems with alias of products in submenu

I FOUND THE SOLUTION!!! Temporary change menu item type to Text Separator, modify alias to your liking and change type back to External URL. REFERENCE:http://www.mysysadmintips.com/other/web/...
user avatar
  • 223
2 votes

Making Virtuemart product detail page accessible to public user

I haven't built a VirtueMart site in a while but, the short answer is to make VirtueMart available to "public" and require registration before anything can be purchased. Again, working from memory, ...
user avatar
2 votes
Accepted

Product not displaying on frontend joomla virtuemart

First of all, you should absolutely update Joomla, you're 21 versions behind (current version is 2.5.27). It might not solve your problem, but it will absolutely make your Joomla safer. From your ...
user avatar
  • 13.3k
2 votes

How to show discounted products in virtuemart?

I think VM default module is providing this features, There is a default module called VM Featured Products. When you check the module manager option you will be able to sort out there is an option ...
user avatar
  • 1,507
2 votes
Accepted

Customising the Virtuemart confirmation e-mail?

My colleague and I worked this out. You edit the ps_product file in administrator - components - com_virtuemart - classes. You do a string replace for the attributes you want affected at the end of ...
user avatar
2 votes

Call php with ajax

A jquery ajax request is still technically "successful" as long as the ajax request doesn't run into an actual error in the process of execution-- as long as it's successful in hitting the endpoint ...
user avatar
  • 1,079
2 votes

How to replace the content of Div for plugin

There are some grey details in your question, so I'll post a solution what I think will do as you desire using DOMDocument and a direct XPath query. Because your question appears to only have one ...
user avatar
  • 4,388
2 votes

How to replace the content of Div for plugin

Possible other solutions: Use https://www.nonumber.nl/en/extensions/rereplacer Find the php code that writes this wrong div and replace it with your own code Use jQuery to replace the divs
user avatar
2 votes
Accepted

Automatic shipping calculation based on postal code

GJC's plugin does the job. But this is using Joomla 2.5 and VM3. Still looking for an answer for 1.5, but might end up taking all sites to later Joomlas/VMs anyway. - http://www.gjcwebdesign.com/...
user avatar
2 votes
Accepted

Virtuemart -From Root browse categories display to browse category products

Actually, following the override idea, is pretty simple - and I can't understand why the VM developers have left this as it is now. In the Categories template file of the Category Layout view: (...
user avatar
  • 19.5k
2 votes
Accepted

VirtueMart images filenames

I don't have any valuable answer for the question, apart that VM won't treat fine file-extensions in uppercase, like .JPG. So I ended up renaming all image filenames + file-extensions to lowercase ...
user avatar
  • 19.5k
2 votes

Joomla administrator - VM JQuery Problems

VirtueMart is just recently migrated to Joomla 3. It is not fully comatible with a pure JQuery environment. Please, check this tip to force Mootools compatibility in legacy code: Mootools on Joomla ...
user avatar
  • 7,415
2 votes

How to change virtuemart cart values?

You don't need any separate extension to achieve this. Just use bulit-in VM Shopper Groups, create one called VIP, and in each product Add new price for VIP shopper group which is 10% lower.
user avatar
  • 3,017
2 votes

Can a single VM3 website handle multiple shops?

It's hard to pretend VM3 is prestashop, but imagine you need to do whole custom work to change all models, views, etc. change database tables. I'm professional programmer and if you come to me the ...
user avatar
  • 522
2 votes
Accepted

XMLHttpRequest cannot load Joomla 2.5 | VM2

The reason you are getting this message is stated in your image- you are trying to access http://benaventegrow.com from the website http://www.benaventegrow.com They look similar, but they are not ...
user avatar
  • 2,330
2 votes

What is the variable that brings up the longer description in VM3?

Order Confirmation Emails are created from code stored in bunch of files in folder components\com_virtuemart\views\invoice\tmpl\ I'm not sure, but think that you can find variables for product info ...
user avatar
  • 3,017
2 votes
Accepted

Safe Mode Restriction - what is this and how can I solve the issue?

It's not a chmod permissions issue, but an issue with your server. Hosting providers sometimes enable safe mode on shared hosting environments to prevent you from screwing up thing for other users on ...
user avatar
  • 26.4k
2 votes
Accepted

How to change "SOLD" message on quick view and product details

Found it. It was an .ini file like you said but not on .../templates/OUR_TEMPLATE/..., not even in "components" folder It was in a folder "languages" in the root of the Joomla install. Thanks again ...
user avatar
  • 21
2 votes

Joomla - VirtueMart 1.x > Magento 2.0

There is commercial extension Vm2Mage from Yireo. Migrating data from VirtueMart to Magento is part of a bigger process: A new Magento site also requires a proper theme, a revision of strategy, ...
user avatar
  • 3,017
2 votes
Accepted

Is it possible to override js scripts?

Yes, and no... Let's start with the "no" - The Joomla core devs have created a way to inject scripts, but no (API) way to remove them. And, "Yes" , but it's complicated.... You'll need to create a ...
user avatar
  • 585

Only top scored, non community-wiki answers of a minimum length are eligible