Use the following commants on Magento 2 terminal /www/server/php/74/bin/php  -d memory_limit=-1  bin/magento setup:upgrade /www/server/php/74/bin/php  -d memory_limit=-1  bin/magento cache:clean /www/server/php/74/bin/php  -d memory_limit=-1  bin/magento indexer:reindex /www/server/php/74/bin/php  -d… Read More →

prevent href redirect onclick with JavaScript Use – d.preventDefault();   jQuery(document).on(“click”,”.seestock”,function(e) { e.preventDefault(); //jQuery(‘> span .stockstatus’, this).html(‘Save’); var qty = jQuery(this).data(‘qty’); jQuery(this).html(qty); //alert(‘hello’); });