MARKETPRESS INTEGRATION: shopping cart widget customization

—> our logic explanation:

1 product post = 1 service provider

this website is about teachers to support school students

you search the teacher you need via the searchform in the sidebar

filtering with the courses you need, the grade and the district

(all these are custom taxonomies added to the product custom post type)

here’s a product post example (service provider post)

http://tuprofe.pe/reservas/tutores/mijail-roberto-surpachin-miranda/

—> issue explanation:

1) show only the total amount of appointments

I’ve edited the funcion in marketpress.php

for it only to show the total quantity of appointments

using this function

$cant = mp_items_count_in_cart();

the idea is to have the cart widget in the header showing only the amount of appoinments

and when the user clics on this cart, then he’s redirected to the shopping cart page

2) amount should update without refreshing the page

it works, but it doesn’t updates as the cart-widget product quantity does.

maybe it’s because some Ajax thing.

can you help me with this?

3) add-to-cart button #anchor

Also

We need to have an anchor in the add-to-cart button

so the page scrolls from the bottom to the top

where the cart widget is located

Thanks for the support