News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

product removed from basket when clicking on check out button?

Started by bornamedical@gmail.com, June 16, 2021, 09:50:35 AM

Previous topic - Next topic

bornamedical@gmail.com

Hi
Joomla version : 3.9.27
virtuemart version: 3.8.8

I have recently realize that when a customer add a product to his basket and then click the check button in order to fill his address, in edit address page he encounter with a message that " your product successfully removed from basket".
Does anybody know why this happen and how can i fixed that.
Best wishes

my site is: www.bornasport.com

Jörgen

not easy to understand your language.
You use custom template, I would try to use vmbeez3 or protostar.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

bornamedical@gmail.com

Hi
my website is based on Persian language. what can i do for you to understand my problem?

Jörgen

I have given a solution, have you tested ? I suspect this is template or checkout (OPC perhaps) related.

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

bornamedical@gmail.com

I changed the template in virtuemart configuration (template tab) as below:

Select the default template for your Shop   : protostar
Category Template   :   protostar
Cart layout   : default   (there is not any option in this section)
Category Layout : default
Sublayouts for products in category: no override
Product layout: default   

but the only changes happen in product pages. there is no change in cart page and when I press check out button in edit address page i encounter with a new error " please enter your name" although i fill the name field.









Jörgen

You have to check your fields for the user. I Guess you have disabled some field that Joomla needs. Username or similar.
Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

bornamedical@gmail.com

#6
After searching in forum, I found that the problem may be from  Jquery file.
if I wait to completely page load it will work fine and there is no problem. but when some one want to add the product before the page completely load some problems occur. for example the product won't add to the cart or in check out section the product remove from basket.
but, I don't know how to fix it? do you have any solution for this problem?
In addition, my template is based on helix 3 frame work.

best wishes;


GJC Web Design

Quoteif I wait to completely page load it will work fine

this is believable.. but how long is your page taking to load?

The fix should be to improve the load time ..  but otherwise make the add to cart button disabled ( disabled="disabled" ) and re-enable when the page is loaded

<script>
   jQuery(document).ready(function($){
          $(".addtocart-button").prop('disabled', '');
   });
   jQuery.noConflict();
</script>
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bornamedical@gmail.com

It is hard to describe it for you, but it is like this:
It takes between 4 to 5 seconds that a page loaded, but it takes about 20 seconds that the circle in the tab completely stop.
do you know how can i fix it?
in addition, I don't know where to place the code that you write for me.
Thank you;

sirius

Hi all,
just a small remark

You've got two sharing system, with one that take too much time to retrieve the facebook data is your "add-this" plugin.
You should just keep only one, just do some tests without your sharing plug-ins just to find out where's the bottleneck.

You also have two woff2 fonts that return both 404 and are those which are slowing about the 25 seconds the load :
/templates/vina_dallix/pfonts/newp30.woff2
/templates/vina_dallix/pfonts/p30.woff2

This apart you should use a file aggregator for your js and css (JCH or other) to much requests.
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.2 11100

bornamedical@gmail.com

Dear sirius
Thank you for your small beneficial remark.
based on your remark, I just copy newp30.woff and p30.woff as newp30.woff2 and p30.woff2 respectively in pfonts folder and the result was amazing. it reduced the speed of loading very much.
But I don't know my job was correct or not to copy newp30.woff as newp30.woff2.
In addition i disabled Facebook sharing icon.
best wishes;

sirius

Your welcome

If you do that, it works, but you just trick the browser without the advantage of the better woff2 compression format.

So you can try to convert woff to woff2 for example with this one :
https://everythingfonts.com/woff-to-woff2

But it not always work, just give it a try
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.2 11100

bornamedical@gmail.com

#12
I have not tried to convert woff to woff2 yet.
but my main problem still remain.
by this modification I can add product to my cart, but after submitting the check out button in order to fill my address, some times product removed from cart automatically (specially for users who use mobile), and a message as " product removed from basket successfully" show in check out page.
do you know how can I fix this?
although, up to now i thought that delay in loading the page is my problem.
thank you;

sirius

Just try an order under user testvm with mail ravila2895@seek4wap.com

All went fine, and I reach the CB payment page, and cancelled to go back to my cart.
Product still there (brnspt332) and indeed were corrected to a quantity from 3 to 2.

So, sorry but can't reproduce the issue.
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.2 11100

bornamedical@gmail.com

thanks for your testing.
But i didn't know that you were testing my site and because I think it may be an attacker I delete the order and the user that you create. sorry.
I will wait and test my site in the next week to check the ordering process. it seems the process sometimes is ok and some other times not.
thank you for your attention