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:
/...
- 232
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']->...
- 221
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 ...
- 3,007
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 ...
- 896
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 ...
- 3,007
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 ...
- 7,415
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 ...
- 13.3k
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/...
- 223
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 ...
- 411
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 ...
- 1,109
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 ...
- 4,671
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
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/...
- 411
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 ...
- 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.
- 3,007
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:
(...
- 19.6k
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 ...
- 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 ...
- 2,340
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 ...
- 19.6k
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 ...
- 3,007
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 ...
- 26.7k
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 ...
- 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, ...
- 3,007
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 ...
- 593
2
votes
Is it possible to override js scripts?
Sometimes the author of your component will provide a way to do such an override, so check the documentation first. If that is not possible, brute force works:
I recently solved this problem for ...
- 131
2
votes
Want to ask about update notice
Well... knowing that TCPDF is Open Source PHP class for generating PDF documents (tcpdf.org), and that is included in thousands of CMS and Web applications, I am quite confident that is compatible ...
- 3,007
2
votes
Virtuemart conflicts in dropdown only sometimes
First check if you have two jQuery versions by pressing CTRL + U (it shows the source code on Chrome), normally jQuery chosen is not a function because JQuery.fn doesn't know who is chosen function, ...
2
votes
When order is placed can multiple emails be set as recepients in virtuemart 3?
While I have been using VM few years ago, I've had the same problem. Clients always wanted at least two email addresses as recepients, and I always needed my admin's email to receive orders for shop ...
- 3,007
2
votes
Joomla and VirtueMart - Remove login button in checkout for guest
If the login button is a module, then assign that module to all pages except the checkout page.
If that doesn't work, then you will need to override the login module, and then have a condition in the ...
- 3,186
2
votes
Accepted
TLS Version for Joomla
The TLS version is controlled by the web server, it has nothing to do with Joomla. That is a secure connection method. Talk to your hosts and ask them to verify that you have TLS 1_2 enabled on your ...
- 1,767
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
virtuemart × 101joomla-3.x × 43
joomla-2.5 × 24
joomla-1.5 × 7
plugin × 6
php × 5
javascript × 5
jquery × 5
mysql × 4
emails × 4
images × 4
component × 3
development × 3
joomla-3.4 × 3
database × 3
sef × 3
joomla-4.x × 3
templates × 2
user × 2
joomla-api × 2
joomla-3.3.x × 2
overrides × 2
seo × 2
registration × 2
module × 1