News:

Support the VirtueMart project and become a member

Main Menu

Recent posts

#71
Installation, Migration & Upgrade / Joomla 5.1.4 : which VirtueMar...
Last post by fc338339 - September 19, 2024, 07:43:37 AM
Dear Sirs,

I refer some topics which state that VitueMart can be installed, migrate or upgrade.

If I create a Joomla 5.1.4

1. can vituemart is developed for this new CMS? which version for it?
2. can I have a download link to install the VirtueMart in Joomla 5.1.4?
3. I have a website which is using Joomla 3.6.5 and VirtueMart 3.0.14, Thus with your answer in (point 1), can I migrate all my data (invoice, order, history, manufacturers....) into this new version?
4. since current CMS Joomla 3.6.5 has edited some core files that I cannot directly upgrade the Joomla 3 into 4 or 5,  that's why I need to create a new website and transfer article, category, menu little by little to the new website, The most concern is make sure all virtuemart 3.0.14 data can be found in your new version. Thus, is there any tutorial on virtuemart new version upgrade that I can follow?

Thanks for your kind attentin

FC


#72
General Questions / Re: Questions about my multi-l...
Last post by hazael - September 16, 2024, 12:34:19 PM
I believe that a rating system created and managed by the platform owner adds little to no value and is among the least trustworthy. It's easy to manipulate the reviews or even write them yourself. If someone leaves a negative review, it can be effortlessly removed, leaving only positive feedback. In my view, this makes the rating system in VirtueMart one of the least valuable features in the component, and not worth using.

As we all know, even reviews on Google can be fraudulent—you can simply buy positive feedback. However, there are other alternatives that not only provide credibility but also drive traffic to your website, such as Trustpilot.
#73
General Questions / Re: Questions about my multi-l...
Last post by VB74 - September 16, 2024, 10:00:47 AM
It works, many thanks hazael!  8)

Concerning my second question, would you have a solution too? :)

2/ Concerning the reviews and ratings of my parent product and my 6 children's products. Do you know how I could merge them into a single entity?


#74
Virtuemart Development and bug reports / Re: Router issue in 4.2.12 and...
Last post by Kuubs - September 16, 2024, 09:45:00 AM
Quote from: AH on September 03, 2024, 19:01:34 PMPlease show what you are doing rather than just saying "its a bug"

Is it code or template overrides you are working on?

When you call the route function on the continue link in the cart, it does not generate the correct url. This doesnt happen on older versions:

<a href="<?php echo JRoute::_($continue_link) ?>"

Where the continue link is the last product url

/index.php?option=com_virtuemart&view=category&virtuemart_category_id=6&Itemid=890
#75
General Questions / Re: Questions about my multi-l...
Last post by hazael - September 16, 2024, 09:30:39 AM
Ok, I made a slight modification - change the code and check if it works
PS. delete file: components/com_virtuemart/assets/js/jquery.noconflict.js  - this file is nonsense and causes errors. you can also remove it in the jch-optimize component

<script>
document.addEventListener("DOMContentLoaded", () => {
  const addToCartButton = document.querySelector('.addtocart-button');
  const allRadioButtons = document.querySelectorAll('.cvselection');
  const selectedRadioButton = document.querySelector('.cvselection:checked');
  if (selectedRadioButton && selectedRadioButton.value === 'VM_CUSTOM_NOT_SELECTED') {
    addToCartButton.disabled = true;
  } else {
    addToCartButton.disabled = false;
  }
  allRadioButtons.forEach(radioButton => {
    radioButton.addEventListener('change', () => {
      if (radioButton.value === 'VM_CUSTOM_NOT_SELECTED') {
        addToCartButton.disabled = true;
      } else {
        addToCartButton.disabled = false;
      }
    });
  });
});
</script>
#76
General Questions / Re: Questions about my multi-l...
Last post by VB74 - September 15, 2024, 23:11:15 PM
Thanks for your advice, I disabled the Wishlist system.

In fact, the problem is not related to the wishlist. The "Add to cart" button is inactive if you go directly to the child product page without going through the parent.

So if a user goes through Google to get to one of my child product pages, the "Add to cart" button will be disabled. It could be very strange for the user. You can try: https://casa-bandera.com/shop-italian-cookbooks/ebook-qs1-english-epub
Do you have a solution to this problem please?

Thanks for your solution, but I don't like manipulating files and I don't know much about code.
#77
General Questions / Re: Questions about my multi-l...
Last post by hazael - September 15, 2024, 22:28:17 PM
Why do you need a "wish list"? after all, it is no different from "add to cart" at all. With such a small number of products, a wish list is completely pointless. If you ran a social networking site and had a large number of users and thousands of products to follow, something like this would make sense. On your website, these are just unnecessary fireworks....

As I wrote above, for the default.php file in your template, you can make a copy of the renamed file and remove unnecessary functions such as "wish list" in this file. You can also remove the "add to cart" button from displaying. this new file will also be the name of the template in the product settings, that you can assign to parent products.

This file should be located here:
templates/you-template-name/html/com_virtuemart/productdetails/default.php
#78
General Questions / Re: Questions about my multi-l...
Last post by VB74 - September 15, 2024, 20:57:49 PM
Thanks for your reply!

I copied the code you indicated before the end of the </body> tag. It's not bad but it doesn't work in the case where you put a child product in the wishlist, then from the wishlist you click on that child product, you'll then see that the "Add to cart" button will be inactive while the format and language are selected.

As for the method with the parent's stock at 0, I've tried it, but the "Add to cart" button is still there. I suppose this is logical, since in the VirtueMart configuration I've selected "Products Out of Stock are orderable, no special action". The problem is that none of the other options are suitable.

The only solution I can see would be to select "Displays 'Notify Me' instead of 'Add To Cart' button" and use CSS to not display the "Notify Me" button.
#79
General Questions / Re: Questions about my multi-l...
Last post by hazael - September 15, 2024, 13:45:55 PM
You can always block the [add to cart] button in the initial phase to make it inactive.
If you don't know how to code - just paste this code before the end of the </body> tag.

<script>
document.addEventListener("DOMContentLoaded", () => {
  const addToCartButton = document.querySelector('.addtocart-button');
  const allRadioButtons = document.querySelectorAll('.cvselection');
  addToCartButton.disabled = true;
  allRadioButtons.forEach(radioButton => {
    radioButton.addEventListener('change', () => {
      if (radioButton.value !== 'VM_CUSTOM_NOT_SELECTED') {
        addToCartButton.disabled = false;
      }
    });
  });
});
</script>

There are also many other solutions - you can always create a different template for the parent product with a hidden or inactive button.

You can also use stock levels for all child products - the parent product in this case should have the value 0 - then you will also not be able to add it to the cart. Set the child products to some absurdly high number, for example 999999, and you can sleep soundly. ;-)
#80
General Questions / Re: Bring Virtuemart back to s...
Last post by iWim - September 15, 2024, 11:36:52 AM
Webshops are complicated. Maybe the most complaced extension for any CMS.
With so many options and settings it is important to make it look and feel comfertable.

In a way VM does succeed in that. VMs backand looks structured and orderly.
However I believe the code and design of the backend and frontend need a major clean up/update.

Since I have more experience in UI, UX and Accessibility than in coding I took the liberty to create a mockup of the Product Edit screen.
This is how I believe the backend of VM can look like in Atum.

No offense to whoever designed VMadmin, but I believe the advantages of using Atum over VMadmin are:
1. Joomla users are familiar with the design, easier transition between Joomla and VirtueMart
2. Updates to Atum are also applied to the VM backend, i.e. darkmode.
3. Accessibility, Atum is constantly reviewed, so VM could be(come) the first accessible webshop software (unchecked). Note: From 2025 every webshop in the EU must be accessible.
4. Dev(s) can concentrate on features

Notes for the mockup:
- The left hand VM menu is designed like, and located at, the left hand J menu position
- The menu items in the left hand VM menu are arranged more logical
- The toolbar is cleaned up
- Search filters are cleaned up and are hidden until you press the Filter Options button, like in Joomla
- Product Edit screen is layed out more logical
- Special fields are replaced by, and work similar to, Joomla Custom Fields
- Cart fields (cart input fields) are now located under the Prices & Cart Options tab
- Related Products/Categories are removed from special fields and located under the Related tab, together with Parent/Child Management
- Images are handled by the Joomla Media manager
- New tabs for Schema, Publishing and Permissions
- New tab for Options* for more flexibility, similar to Joomla

* My idea is to split Configuration into a new configuration for system settings and Options for view/layout/design settings for more flexibility, similar to Joomla.