Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql-a2c-1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /var/www/html/wp-includes/wp-db.php on line 2024

Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql-a2c-1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /var/www/html/wp-includes/wp-db.php on line 2024
class="post-444104 post type-post status-publish format-standard hentry" id="post-444104">

Redirect to cart after add to cart programmatically in magento 2

I want to redirect to cart page after adding the product into cart,
I know there is a provision in config but I have a custom product type and that config is not working for that product.

That configuration setting is working for simple and other products but not for the custom product type.

So Is there any way I can do this thing programmatically using plugins or anything else.

Leave a Reply

Your email address will not be published. Required fields are marked *