This topic has 10 replies, 3 voices, and was last updated 1 years, 9 months ago ago by Rose Tyler
This may be a simple question but I can’t find it anywhere…how can I remove it?
https://drive.google.com/file/d/1R8JPBzalgwVCduHguvwJGXEm0dBwOlfD/view?usp=sharing
Hello @Laskowidz,
We would appreciate it if you could provide us with your website URL and WordPress admin credentials in the private content area of this topic so that we can review and assist you accordingly.
The information we require is as follows:
– WordPress Admin URL
– WordPress Admin Username
– WordPress Admin Password
Thank you for your cooperation.
Best regards,
8Theme’s Team
Hello, Laskowidz
Thank you for your inquiry.
Could you please provide the URL of the page where you took the screenshot?
Kind Regards,
8theme team
Please check
Hello @Laskowidz,
Thank you for providing the login details. I have reviewed your website and determined that the cart button comes from the Cashier for WooCommerce plugin. I have deactivated the plugin, and the cart button has been removed from your site.
Best regards,
8Theme’s Team
I used this plugin because thanks to it I can create a direct link to purchase a product, i.e. directly to the checkout. Then I can also attach the link to an additional button on the page, which is exactly what I used.
Is it then possible to create an additional buy button in the product description? in tabs section?
Let me clarify what I mean:
It’s about building a link as described on this page:
https://isotropic.co/woocommerce-direct-checkout-link/
i.e. using a link like:
https://www.yourwebsite.com/checkout/?add-to-cart=ID
where instead of ID we enter the ID of the product from our store does not work using xStrore.
What link building formula should I use? or some other plugin?
Hello, Laskowidz
Let us know more information about your request.
1/ Would you like to redirect the customer on add to cart button click (on shop page) to checkout page ?
2/ Or do you want to change the link of each ?add-to-cart=ID to /checkout?add-to-cart=ID ? – if so then it does not give any garranty that customer will be redirected to checkout because adding to cart is working by ajax from woocommerce (according to this option enabled -> https://prnt.sc/uqdkdV5Igcda ) and no redirects will be done then anyway.
3/ What about single product add to cart button then? How do you imagine it should work? – we have our own buy now button which redirects automatically to checkout page on click -> https://prnt.sc/cYomolD2agNy
4/ Do you want to make all add to cart buttons everywhere to redirect automatically just like Buy now button works ?
Excuse us that we want to know more details about your question because it is better to dig inside the question and suggest good solution rather that make a few times with no success.
Also, Woocommerce has built-in option to redirect to Cart page on adding product to cart -> https://prnt.sc/VRKZ3kCk2ugk so maybe it is (almost or fully) what you asking us for?
Kind Regards,
8theme team
I want create additional ,,Buy now” button in product description.
Like this:
As for point number 3:
Or how to make this button appear additionally in the product description?
Hello, Laskowidz
Thanks for the details!
As you know we are not providing customization services but can only give some snippets filters or direct our customers where some files are located.
We can suggest you next php snippet which you may add to your child-theme/functions.php ( https://prnt.sc/ry2TlXOEE0T1 )
add_action('woocommerce_after_shop_loop_item', function() {
global $product;
echo '<a href="'.home_url('?buy-now='.$product->get_ID().'&qty=1&coupon=&ship-via=flat_rate&page=11&with-cart=0').'" class="button wp-element-button product_type_'.$product->get_type().'">'.esc_html__('Kup teraz', 'xstore-child').'</a>';
}, 30);
We checked the link of the button you shared with us by screenshot and modified it according to universal parameters.
Frontend results -> https://prnt.sc/NAE0IQ_5iB-q
Kind Regards,
8theme team
Tagged: customization, remove cart button, seo friendly, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up