This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago ago by Olga Barlow
Hello
I am using a third party plugin – Request A Quote and they have given me three ways to change the woocommerce shopping cart to reflect the items in quote instead of the default commerce cart.
I would like to know how I can use this information to display the items in quote on the XStore cart icon on the header via a template tag (possibly?).
The documentation they have provided me with is as follows :
Now you can easily show the number of products added to the quote.
We have created a function that you can access using a widget, a shortcode or a template tag.This function shows the number of products added to the quote which is updated by ajax. By clicking on it, it is linked to the list of products added to the quote from which the user can send the request for a quote.
This way you have all the flexibility to show the number of products added to the quote in your theme, in a widgetized area or even on a page or post.
Widget: Appearance> Widget> ‘Quotation – Number of items in quote’
Template tag: adq_added_items()
Shortcode: [adq-added-items]
It returns the string ‘x in quote’ and prefixes the WooCommerce cart icon.
Any help would be greatly appreciated.
Many Thanks
D
Hello,
Go to xstore/framework/woo.php and find etheme_top_cart function, copy it to child theme functions.php. And edit this function according to your need either using function or shortcode from plugin developers.
Regards
You must be logged in to reply to this topic.Log in/Sign up