Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - MaterialMart (SKU# FLEX-00020)

TOPIC: The MaterialMart ignores the required fields

The MaterialMart ignores the required fields 6 years 6 months ago #15278

I have created some required fields that the buyer should be choose before entering the product into the shopping cart.
The MaterialMart ignores this required fields and entering the product into the shopping cart.

When I disable MaterialMart on my website, the message that prompts the buyer to select the fields is displayed normally.
The product link is: T-shirt Miss Sol’s

See the following image:

Attachment custom-fields.jpg not found

The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15285

Hi,

No matter what kind of patch we do, this would be problematic all the time. Because the 3rd party custom-field and MaterialMart, they both try to style/function the custom-fields section differently. So, they conflict each other.

So, the real question is;
- Should 3rd party custom-field support MaterialMart?
- Should MaterialMart support the 3rd party custom field?

The answer for both questions is NO. Because 3rd party extensions are not suppose to support each other. They are developed/test and debugged to work on Core Virtuemart.

But, why don't you fill out this support request below and let me see what I can do on your website. I will basically try to disable the actions of MaterialMart in the custom-fields section completely, so the other 3rd party custom-field will freely control everything. BUT !! Once i disable the effects of MaterialMart in the custom-field section; you are going to lose the dropdown select box effect of MaterialMart as well.
 
[forum URL -- don't touch]
https://www.flexiblewebdesign.com/forum-virtuemart-template-materialmart-support/3663-the-materialmart-ignores-the-required-fields
 
[The URL(s) to see the failure on your website]
https://ifadi.ows.gr/t-shirt-%CE%BC%CF%80%CE%BB%CE%BF%CF%85%CE%B6%CE%AC%CE%BA%CE%B9%CE%B1/ginekeio-t-shirt-miss-sol-s-detail
 
[Joomla Administrator Credentials]
<< Joomla Administrator URL & Username & Password >>
 
[FTP credentials] (Provide FTP credentials in this format below)
FTP server: ftp.yourdomain.com
FTP username: <<username>>
FTP password: <<password>>

regards.
Last Edit: 6 years 6 months ago by Support.
The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15286

Hello!

I have sent you an e-mail with the login details.
So, the real question is;
- Should 3rd party custom-field support MaterialMart?
- Should MaterialMart support the 3rd party custom field?

The answer for both questions is NO. Because 3rd party extensions are not suppose to support each other. They are developed/test and debugged to work on Core Virtuemart.

I understand what you are saying to me, but when someone plans to create an online store for example, it does the market research, finds the extensions that serve it in the implementation and purchases these extensions.
In any case, he can not know if there will be a conflict with other extensions, nor can he try before buying so as to reject some of them.

I really like the MaterialMart , but my e-shop is based solely on the custom fields. The native custom fields of the Virtuemart are not so flexible for the job I want to do.

In my opinion, resolving the problems that arise, help you to perfect your product :)

Kind Regards
The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15294

Hi,

I just fixed this problem by modifying this JS file:
/plugins/vmcustom/customfieldsforall/assets/js/customfields_fe.js

I changed this line:
var addtocart = form.find('input[type="submit"]');

to this line:
//var addtocart = form.find('input[type="submit"]');
var addtocart = form.find('.addtoCart'); // this line added by Flexible Web Design

And everything starts working just fine.

FYI: in MaterialMart, "add to cart button" is an anchor-tag (not a button).


Attachment ScreenShot2017-10-01at7.33.20PM.png not found



If you like MaterialMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-Templates/MaterialMart

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support
The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15295

Thank you for the solution!!!

The problem solved!
The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15297

Sure, your welcome ;)

If you like MaterialMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-Templates/MaterialMart

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support
Last Edit: 6 years 6 months ago by Support.
The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15299

Hello!

I have already written a review and I've given five star rating, at MaterialMart three days ago.
When I try to re-write, then present the following message:

Attachment review.jpg not found




Have you received any notice?
Last Edit: 6 years 6 months ago by Efthalia Petropoulou.
The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15304

Unfortunately, the problem has not been solved completely...

I tested the function "Add to cart" with the most famous browsers, and the results are as follows:

1) Google Chrome 61.0.3163.100 : The problem remains
2) Firefox 56.0 : The problem solved
3) Safari 5.1.7 for windows: The problem solved
4) Opera 48.0: The problem solved
5) Internet Explorer 11: The problem remains
6) Microsoft Edge 38.0: The problem solved
7) Opera Neon 1.0: The problem solved
8) SeaMonkey 2.46: The problem solved

In conclusion, we see that the problem persists only in two browsers
The bad news is that the Google Chrome is the most popular browser and must definitely be solved, for the better functioning of my e-shop. :(

Regards
The administrator has disabled public write access.

The MaterialMart ignores the required fields 6 years 6 months ago #15315

Hi,

I am using Chrome and don't see anything wrong.

Attachment Screen_Shot_2017-10-14_at_10_12_44_PM.jpg not found



Attachment ScreenShot2017-10-14at10.13.53PM.png not found



By the way, add-to-cart event and the validations are handled by JavaScript, so this can't be related to browser-type. As long as the "JavaScript" is enabled on the browser, everything should be good to go. Browser compatibilities are 99% of the time related CSS (not javascript)

Regards.
The administrator has disabled public write access.
Time to create page: 0.163 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo