Forums
(@antoninartaud)
8 years, 1 month ago
@anphira thanks a lot, that plugin was exactly what I was looking for, and it killed two birds with one stone !
Hello,
Thanks for the tip, it doesn’t however seem to empty the carts :/
Assuming it works, would there be a way to programmatically press this button ?
8 years, 3 months ago
marked as solved
Thanks ! It was as simple as that
I’m marking the post as resolved
Thanks Mike, in the end I got what I wanted by simply doing
foreach ($items as $item ) { $product = $item['data']; $terms = get_the_terms( $product->id, 'product_cat' ); }
8 years, 4 months ago
Nevermind, I fixed this by using ngrok, and changing the website URL in wp-config :
define('WP_HOME','https://your-ngrok-url'); define('WP_SITEURL','https://your-ngrok-url');
I didn’t have to change anything else