Jump to content
Sati628

refreshing shopping cart

Recommended Posts

Hello

 

is there a way i can refresh the shopping cart once the quantity has been changed?

i would like to implement some code so when you click either the add or subtract quantity button the cart will change the quantity and then reload.

 

i tried reloading the page however this took too long so i figured reloading just the cart would be easier however i have been unable to do this and i can't link this with the button click.

 

my site is http://telephoneheadsets.net/

 

If i could get help quickly I'd appreciate it my site is being indexed pretty well and i want this sorted before too many people get put off by its inability to function properly

 

Thanks!

Share this post


Link to post
Share on other sites

what you describe is a normal behavior when ajax cart is enabled in the back office.

 

did you change something in cart process?

Share this post


Link to post
Share on other sites

yes, I have asked for help before without success.

 

I have modified the shopping cart to display prices without tax, however, when you use the buttons to change quantity the prices revert to including tax.

 

I would like for those changes to be permenant. so far all I have been able to do is add an update cart button which refreshes the page.

 

I would like for this process to be included in the pressing of the button or a fix for showing prices without tax permanently.

 

I would really appreciate your help!

Share this post


Link to post
Share on other sites

I am going to move this to the development section.

 

Sat., you will need to provide more information, i.e. catch code or somehow convey what you have already done...hopefully someone in the development forum can help you.

Share this post


Link to post
Share on other sites

ok, all i have done so far is go through the shopping-cart.tpl file and swap and bits that are tax inclusive to tax exclusive.

i.e. here i have my site set to use tax. the tha cart shows products tax inclusive as default. i have changed it to be tax exclusive and changed the displayed word from tax to VAT. I moved the "_wt" from one to the other.

similar changes were made throughout the document.

	{if isset($product.is_discounted) && $product.is_discounted}
					<span style="text-decoration:line-through">{convertPrice price=$product.price_without_specific_price}</span><br />
				{/if}
				{if !$priceDisplay}
					{convertPrice price=$product.price}
				{else}
					{convertPrice price=$product.price_wt}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More