| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
remove "continue shopping" button from product page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
remove "continue shopping" button from product page
After you add a product to your cart, then go back to the product page, a button labled "continue shopping" is below "buy more"
How can i remove/delete this "continue shopping" button? I'm sure this has been asked but I cannot find the correct file to modify (or if it can be done in the admin area). Thank you. i use: X-Cart Next core v.1.2.3 http://vcsigns.com/store/
__________________
by LiteCommerce 3 integrated with Drupal. LC Core version 1.0.24 |
|||||||
#2
|
|||||||
|
|||||||
Re: remove "continue shopping" button from product page
can anyone please help. I saw other posts go up after mine and they have responses already! Thanks.
__________________
by LiteCommerce 3 integrated with Drupal. LC Core version 1.0.24 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: remove "continue shopping" button from product page
Hi Dave!
It was described here: http://forum.x-cart.com/showthread.php?t=66688 Let me know if you need some more explanation. Tony. |
|||||||||
#4
|
|||||||
|
|||||||
Re: remove "continue shopping" button from product page
Hi Tony! Thank you for responding as your help is always appriciated!
I re-read that entire thread, it was helpful proir, but i didnt see where it discussed "removing the 'continue shopping' button" When you click "continue shopping" [mine says category page because i renamed it] it goes back to the category page. I would like to request have it removed all toghter but not sure which file to do it in or what code to comment out. Thanks again for additiaonal help.
__________________
by LiteCommerce 3 integrated with Drupal. LC Core version 1.0.24 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: remove "continue shopping" button from product page
Oh, yes. I missed that this part was not described.
In this case, you need to add the following lines into the runBuildCacheHandler() function in the Main.php file. Do not forget to rebuild the cache after that and this change should do the trick. Code:
|
|||||||||
#6
|
|||||||
|
|||||||
Re: remove "continue shopping" button from product page
Thanks tony.
I applied that code in Main.php (which is located: store/classes/XLite/Module/CDev/CartCorrections/Main.php) [is this the correct location?] After i "rebuild cache" from the admin area, i checked the cart product page which as already been added and the "continue shopping" - which says "category page" is still there. (i manually added in the buttons above on the page, which is why i need to remove "continue shopping" which is labeled "category page" http://vcsigns.com/store/cart.php?target=product&product_id=57 thanks
__________________
by LiteCommerce 3 integrated with Drupal. LC Core version 1.0.24 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: remove "continue shopping" button from product page
Hi Dave!
Sorry, it was my bad. I mentioned the incorrect List in my previous code. The correct code for removing these buttons is: Code:
You should these lines instead of ones I provided earlier. Put them into the body of the runBuildCacheHandler() function in the Main.php file (you are right about its path) and regenerate the cache. It should do the trick. |
|||||||||
#8
|
|||||||
|
|||||||
Re: remove "continue shopping" button from product page
Quote:
Thanks for the info again Tony! I did as you said, after rebuilding the cache, the button was still there; unless im sure im doing something wrong. I attached the file which you told me to modify. Maybe you can see something in the code that I cant. thanks again.
__________________
by LiteCommerce 3 integrated with Drupal. LC Core version 1.0.24 |
|||||||
#9
|
|||||||
|
|||||||
Re: remove "continue shopping" button from product page
I needed to ENABLE the add-on.
the last code you provided DID work. After I rebuilt the cache, nothing showed, thats because the add-on was disabled. After enabling it, the button was gone. Thank you.
__________________
by LiteCommerce 3 integrated with Drupal. LC Core version 1.0.24 |
|||||||
|
#10
|
|||||||||
|
|||||||||
Re: remove "continue shopping" button from product page
Happy to hear it is resolved now!
|
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|