The Rite Sites
Forum Replies Created
-
Forum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] Change “View Cart” TextHi Galatanu!
At this point in time, we do not offer a way to change the “view cart” text — this function is actually being brought in from a WooCommerce JavaScript package wc-add-to-cart. This is where the text is coming from in public/js/enhanced-ajax-add-to-cart-wc-public.js:134
Also, when you make changes to this file, this will not affect a live website without debug mode (either site wide, or plugin specific debugging) as there is a minified javascript file bundled with the plugin at public/js/enhanced-ajax-add-to-cart-c-public.min.js
This file must be re-built if the original non-minified javascript file is edited.At this point, there are two paths forward:
1) You can make changes to the non-minified javascript file and load the non-minified javascript in all environments by modifying the asset enqueuing at public/class-enhanced-ajax-add-to-cart-wc-public.php:78-81 and comment out these lines. This will have line 82 be the only default line and will load the non-minified file, and will let you change the javascript file. With this, you will have to make this change with every update to this plugin.2) Alternatively, you can use CSS in a kind of hack-y way to do what you would like:
// Below hides the original text.
.added_to_cart.wc-forward {
font-size: 0;
}
// Below adds the string “checkout!” on the button in size 13 font, change as needed
.added_to_cart.wc-forward::after {
content: “checkout!”;
font-size: 13px;
}Lastly, we will add a solution to our backlog on this plugin that will let a user change all the shortcode buttons text via an options page, but in the plugins current state, we cannot have different “view cart” text per shortcode.
Please let me know if there is anything else that I can help you with!
Best regards,
Parker MathewsonThe Rite Sites
Forum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] Button formatHello!
Sorry for the delayed response, we do not check on these forums as regularly as we should.
As for the styling questions you asked, here is some general information:
– We actually do not do ANY styling to the buttons, all the styling you are seeing is from a theme or WooCommerce broadly.
– The same can be said for the quantity input, but you can use this selector:input.input-text.qty.text {}
– You can change the button styling by using the CSS selectors below
button.button.alt {}
Or more specifically to this plugin onlybutton.simple_add_to_cart_button.alt, button.variable_add_to_cart_button.alt {}
– For the tick mark, after the product is added to the cart, the button has a new CSS class “added” to which you can add a “content” property and have the check mark appear.
– Alternatively to the all above styling, these additions can be done using javascript, but this is for more advanced users. You can add classes that already achieve these goals by using the above selectors and add the appropriate classes as the webpage loads.
– Lastly, and this is our least recommended, you can modify the source code to add the CSS classes to each component needed.As a general word for why we do not give users the options to add classes to the components, as we have not vocalized them before:
We see a lot of plugins out there to allow users on shortcodes to add classes to elements. We find this to build messy code and messy for many users as well. We often get requests to add more classes to components, but all these components are available and extremely customizable via the correct CSS selectors. We are happy to help out with pointing out how to access these components, if you need further help with styling than that, you can feel free to reach out to us at our website or email us directly at contact@theritesites.com !Thank you for using the product and I hope you can figure out how to get everything configured!
Best,
The Rite SitesForum: Plugins
In reply to: [Carousel Slider] Structured data errorsThank you Mesmer!
Worked like a charm.Forum: Plugins
In reply to: [Carousel Slider] Structured data errorsHey Mesmer,
I am running into the same issue on one of my websites. As to save time, would you mind sharing what you did to disable the structured data for the sliders?
Thank you!
ParkerHi Paulcnet,
We are happy to announce we got this pushed out with a couple other bug fixes as of version 1.3.1 and you can use the selector below to change how the separator looks!
.ea-separator::before {
content: ” – “;
}Sorry for the delay, we got busy working on some other projects and this sat in the queue for far too long.
Thanks for your patience!
– Parker MathewsonThe Rite Sites
Thanks for reaching out! We pushed out a fix for this in version 1.3.1 today.
Feel free to reach out with any more questions, comments, or concerns.
Thanks for using the plugin, hope you continue to!– Parker Mathewson
The Rite Sites
Forum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] + – quantity selectorHi Coroleu,
If it is not the standard buttons in the browser, then that is a larger CSS and javascript change that we are not currently planning in the next release. You can fill out our feature request form here and we will add it to the vote for features in a future release or have a developer create a wrapper for the plugin to do such.
Thanks for reaching out!
Parker MathewsonThe Rite Sites
Hi Paulcnet,
We are getting a new minor version out fixing a bug found on some pages later, in that I will also add a class and ID to the price span and change how the price separator is displayed. Thanks for pointing these out!
As for changing how to increment/decrement quantity via buttons, that not a simple change. You can submit a feature request on our website – not on a support forum here, and we can get back to you with more information. Plugin Feature Requests
Please feel free to reach out, I will mark this as closed when the new version comes out.
Thank you!
The Rite SitesForum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] Show product attributesHi Ikaroweb,
At this point in time, no, it is not possible to have a variable parent product with attribute dropdown. It might be something we would look at for a future version of the plugin but have no timeline available or guarantee.
You may be able to get more information or submit feature requests on our website here: The Rite Sites Plugin Requests
This will help us keep track of feature requests and will let us keep the conversation going in a non-support thread.Thank you for reaching out!
Best Regards,
The Rite SitesForum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] Display priceI am sorry for such a long delay, but this feature has now been implemented!
– Parker Mathewson
The Rite SitesForum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] Change button textHey Pizzapie!
I just released version 1.3.0 that now has that feature. You can use the parameter button_text like so
[ajax_add_to_cart product=123 button_text=add! ]which will add a button that says “add!”
Thanks for reaching out, hope this helps!
-Parker MathewsonForum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] add to cart issueWe have no plans to make that a feature of this plugin, but here is some custom CSS that you can put into your styles.css in your theme or wherever you see fit:
.woocommerce-variation-add-to-cart .qty::-webkit-outer-spin-button, .woocommerce-variation-add-to-cart .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .woocommerce-variation-add-to-cart .qty { -moz-appearance: textfield; }
If you would like more information on how to do more with javascript while interacting with the number input, there is a good short article found here
Short tutorial for removing number input arrows/scrollForum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] InstallBob,
This plugin will not provide that as a solution.
You can reach out to us at our company (contact@theritesites.com) to find a custom solution for what you are looking for, or there may be other plugins that can provide that solution as well.Thanks!
The Rite SitesForum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] InstallHey Bob2325,
Seems that our product is not for the solution you are looking for.
This plugin does not replace the existing functionality of the add to cart button whether on the single product page, or on the category page.
This plugin is a shortcode (and a block soon) that will render a quantity input and input button for adding a product to cart.Best of luck!
The Rite SitesForum: Plugins
In reply to: [Enhanced AJAX Add to Cart for WooCommerce] Display priceGreat question! In the current or previous versions, no. Pretty beneficial feature though!
I will be putting this into version 1.3.0 with a couple other options.
I hope to get this released later this week, be on the lookout!