Shape 5

Joomla Templates => eTensity - May 08 - Club => : jonahh June 16, 2008, 03:38:06 PM



: Redirect to homepage after empty cart
: jonahh June 16, 2008, 03:38:06 PM
Hello All,

Many of you have been having the problem of an index.php redirect after the cart is emptied in  Joomla 1.5 and VirtueMart.  To fix this problem you need to edit two lines of code in the "basket.php" VirtueMart file.  We have already done this and included the update in the attached basket.php file.  You can either take this file and overwrite your current basket.php, located:

administrator/components/com_virtuemart/html/

Or you can download the VM 1.1 files again as this updated file has been included.

Cheers!



: Re: Redirect to homepage after empty cart
: adressell June 26, 2008, 04:17:24 PM
I keep getting redirected to the homepage (with the etensity home template, no joomla content output) when trying to checkout.   Therefore I thought this might help solve the problem.  I downloaded and copied this file over to the directory you specified.  Once uploaded I tried to view the cart and got the following error:

Parse error: syntax error, unexpected $end in /homepages/41/d178196076/htdocs/build/administrator/components/com_virtuemart/html/basket.php on line 263


: Re: Redirect to homepage after empty cart
: jonahh June 26, 2008, 09:37:35 PM
Try the attached file again, I made some changes.

Regards,


: Re: Redirect to homepage after empty cart
: adressell June 27, 2008, 04:16:56 PM
I downloaded the file again and imported it.  Still not working, everytime I choose, "view cart" or "add to cart" it goes right back to the homepage.  This only happens with etensity_inner set as default and etensity assigned to the homepage.

Let me know if you can think of anything as this is drving me crazy!


: Re: Redirect to homepage after empty cart
: derherbstl July 28, 2008, 02:37:08 PM
No work!


: Re: Redirect to homepage after empty cart
: jonahh July 29, 2008, 10:39:45 PM
If you can PM login details I'll take a look at it.


: Re: Redirect to homepage after empty cart
: worsin August 25, 2008, 12:50:01 PM
I just tried this fix on Virtuemart 1.1.2 and it did nothing.  Still reverts to the Homepage when you change the cart.

Im getting really sick of "Fixes" not fixing anything.


: Re: Redirect to homepage after empty cart
: jonahh August 25, 2008, 01:43:17 PM
The files were designed for VirtueMart 1.1.1 and do work with this version,  it is very possible they don't work on VirtueMart 1.1.2,  we will test this.


: Re: Redirect to homepage after empty cart
: winstart August 29, 2008, 04:06:52 AM
thnx, updated the basket file. It works  :)


: Re: Redirect to homepage after empty cart
: bryanc63 September 01, 2008, 08:58:21 PM
I'm having a similar problem, and the new basket file hasn't fixed it.

It's during checkout (in which there are two steps).  When I enter billing and shipping info, I click next, and it goes to the homepage.

I am using eTensity on the home page and eTensity_inner on the rest.  When I switch the entire site to eTensity_inner this problem goes away.  But, I'd like to use the eTensity template for the home page.

https://www.bryancook.com/index.php?option=com_virtuemart&Itemid=72

thanks!
bryan


: Re: Redirect to homepage after empty cart
: jonahh September 03, 2008, 10:17:15 AM
Hello Bryan,

Have you download and installed the VM styles zip we have provided? 


: Re: Redirect to homepage after empty cart
: rodneyrrw December 07, 2008, 06:57:26 AM
i download it.and when  i check out ,my website show
Warning: include(/home1/diggcool/public_html/fishdigg/components/com_virtuemart/themes/ja_larix/templates/basket/basket_b2c.html.php) [function.include]: failed to open stream: No such file or directory in /home1/diggcool/public_html/fishdigg/administrator/components/com_virtuemart/html/basket.php on line 257

Warning: include() [function.include]: Failed opening '/home1/diggcool/public_html/fishdigg/components/com_virtuemart/themes/ja_larix/templates/basket/basket_b2c.html.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/diggcool/public_html/fishdigg/administrator/components/com_virtuemart/html/basket.php on line 257


: Re: Redirect to homepage after empty cart
: jonahh December 08, 2008, 10:23:46 PM
what are these files looking for on line 257?


: Re: Redirect to homepage after empty cart
: aliko1979 January 25, 2009, 05:44:07 PM
Hello,

Same problem with new basket.php

Parse error: syntax error, unexpected $end, expecting ')' in /home/content/a/l/i/aliko1979/html/administrator/components/com_virtuemart/html/basket.php on line 263

PLEASE HELP


: Re: Redirect to homepage after empty cart
: aliko1979 January 25, 2009, 05:50:07 PM
I keep getting redirected to the homepage (with the etensity home template, no joomla content output) when trying to checkout.   Therefore I thought this might help solve the problem.  I downloaded and copied this file over to the directory you specified.  Once uploaded I tried to view the cart and got the following error:

Parse error: syntax error, unexpected $end in /homepages/41/d178196076/htdocs/build/administrator/components/com_virtuemart/html/basket.php on line 263


: Re: Redirect to homepage after empty cart
: jonahh January 26, 2009, 01:05:01 PM
Could you post a URL?


: Re: Redirect to homepage after empty cart
: aliko1979 January 27, 2009, 08:24:14 AM
here is URL  http://replicity.com/index.php


: Re: Redirect to homepage after empty cart
: jonahh January 27, 2009, 01:30:02 PM
Exactly at what point are you being redirected? I tried and made it to the checkout screen that asks for the users login information.


: Re: Redirect to homepage after empty cart
: aliko1979 January 27, 2009, 01:49:23 PM
after entering users login information on step 2


: Re: Redirect to homepage after empty cart
: jonahh January 28, 2009, 02:55:09 PM
Ah ok, can you PM login details? I'll get this fixed for you as I do see the problem now.


: Re: Redirect to homepage after empty cart
: aliko1979 February 01, 2009, 03:45:10 AM
Hello,

i've sent you login details, have you fixed the problem?


: Re: Redirect to homepage after empty cart
: aliko1979 February 03, 2009, 12:23:34 PM
any news about my problem???


: Re: Redirect to homepage after empty cart
: aliko1979 February 04, 2009, 09:07:59 AM
Hello,

i've sent you login details, have you fixed the problem?

what about my problem?????


: Re: Redirect to homepage after empty cart
: jonahh February 04, 2009, 11:26:07 PM
Hello,

Sorry for the delay I forgot to ask you for FTP login details.  I need FTP access to update the files that are redirecting you to the homepage.  Please PM these and I can get this resolved for you.

Thanks,


: Re: Redirect to homepage after empty cart
: aliko1979 February 05, 2009, 03:37:53 AM
Hello,

Sorry for the delay I forgot to ask you for FTP login details.  I need FTP access to update the files that are redirecting you to the homepage.  Please PM these and I can get this resolved for you.

Thanks,

Hello,

Could you pleased to send me instructions on how to update files myself?


: Re: Redirect to homepage after empty cart
: aliko1979 February 06, 2009, 06:59:21 AM
Hello,

Sorry for the delay I forgot to ask you for FTP login details.  I need FTP access to update the files that are redirecting you to the homepage.  Please PM these and I can get this resolved for you.

Thanks,

Will you support me??? I am tiered of waiting!!!


: Re: Redirect to homepage after empty cart
: aliko1979 February 07, 2009, 08:40:44 AM
anyone help me, what is going on here? why we are paing for the templates? support help me resolve the problem, template is not working!!!


: Re: Redirect to homepage after empty cart
: friction February 08, 2009, 07:28:21 PM
I seem to be having a very similar issue. Maybe you guys can take a look and see if these are the same issues you are having. http://gizmobeans.com/

It just seems like everything redirects to the home page when you view cart, checkout etc... Is this the same thing you guys are going through?

I'm not used to using 2 templates at the same time so I'm not quite sure where to look to fix the issue. If anyone has figured this out please let me know.

Thanks


: Re: Redirect to homepage after empty cart
: jingli February 09, 2009, 02:37:57 AM
It just seems like everything redirects to the home page when you view cart, checkout etc... Is this the same thing you guys are going through?

On your page I tried to add products to the cart, view the cart, and go to checkout. Everything worked fine with me, no front page load.

But it seems that you have Ajax activated, that brings up the fading box when you add products to cart, and the S5 Drop Down Cart is not updated until you refresh the page. Try to turn off Ajax and see how it works then.

Btw, friction, I really liked the way your products displays on the browse page, how did you achieve this? Is it your customization or is it something to download from somewhere? (Edit: I see you have different ways, what I mean is the way you display browse page for the mens watches, in the nice frames which is very appealing).
 
:)



: Re: Redirect to homepage after empty cart
: jonahh February 09, 2009, 02:22:42 PM
Hello,

Sorry for the delay I forgot to ask you for FTP login details.  I need FTP access to update the files that are redirecting you to the homepage.  Please PM these and I can get this resolved for you.

Thanks,

Hello,

Could you pleased to send me instructions on how to update files myself?

If you have installed the VM files from the download section you shouldn't have this problem.  I checked your site and registered and do see the problem.  I am not sure why its not working (if you have installed the eTensity VM style files) so I would need FTP access to fix this.

If you haven't installed the files I would do this and the problem should go away.  We had to edit the VirtueMart files to get them to redirect to the VirtueMart component rather than "index.php"

Regards,


: Re: Redirect to homepage after empty cart
: jonahh February 09, 2009, 02:42:59 PM
I seem to be having a very similar issue. Maybe you guys can take a look and see if these are the same issues you are having. http://gizmobeans.com/

It just seems like everything redirects to the home page when you view cart, checkout etc... Is this the same thing you guys are going through?

I'm not used to using 2 templates at the same time so I'm not quite sure where to look to fix the issue. If anyone has figured this out please let me know.

Thanks

Hello friction,

I also took a look at your site and as "Jingli" mentioned everything does appear to work correctly.  I would also follow his suggestion regarding the AJAX.

Regards,


: Re: Redirect to homepage after empty cart
: friction February 09, 2009, 05:21:31 PM
Jingli,
 Thanks for the compliment :)
I'm a web designer, that is all custom done by me. I'm going to do allot more but I'm waiting until I get the template working perfectly. I will try to turn off Ajax and see how that goes. Too bad too I really liked the popup box :) Aftert that I will see if there are any additional issues and post them here.

Bryan


: Re: Redirect to homepage after empty cart
: friction February 09, 2009, 05:39:45 PM
Ok, If you go to the site and click the view cart button in the top right corner of the site it just refreshes the front page. I would expect it to take you to a page that says your cart is empty. It only does this on the front page. once you click that button from within any category it takes you to the page that says your cart is empty. Can you verify that your site does or does not do that.

Bryan


: Re: Redirect to homepage after empty cart
: friction February 09, 2009, 06:34:06 PM
Jonahh,
  There is definitely something wrong in the backend of the site. How can I get you the admin login details so you can go in and take a look? I may be doing something erong but it seems there are some functions in the backend missing.
I went to turn off Ajax and the layout section seems to be missing for some reason.

Thanks for all your help!
Bryan


: Re: Redirect to homepage after empty cart
: friction February 09, 2009, 06:57:21 PM
Ok scratch that I figured it out. But now there is a bigger problem, now if you click add to cart on the product details page it brings you to a messed up page. with no info but the cart banner image.

Bryan


: Re: Redirect to homepage after empty cart
: friction February 09, 2009, 08:22:04 PM
I sent you the ftp info Jonahh

Please let me know what you find out.

Thanks
Bryan


: Re: Redirect to homepage after empty cart
: friction February 10, 2009, 12:22:34 AM
I figured it out, for some reason everything goes haywire when you unpublish the products tab in the main menu. If there is a way that I can unpublish this without blowing up the cart that would be great. It seems excessive to have a products tab and the other categories all in the main nav. Also when I turned off Ajax it messed up all the add to cart buttons. I think the site looks better with it activated anyways.


: Re: Redirect to homepage after empty cart
: jonahh February 10, 2009, 12:25:46 AM
Ok scratch that I figured it out. But now there is a bigger problem, now if you click add to cart on the product details page it brings you to a messed up page. with no info but the cart banner image.

Bryan

This is what Jingli was talking about, you must be clicking the cart button on the little popup that appears.  This little popup is AJAX you have to disable this and then this will no longer occur.  You can disable it under the configuration area of VirtueMart.


: Re: Redirect to homepage after empty cart
: friction February 10, 2009, 01:29:34 AM
Ok we seem to be completely on the wrong track here. The problem I was having had absolutely nothing to do with the Ajax. The only problem was that when I unpublished the products tab in the main menu it would make the view cart button (top left) go to the index page. This problem was only on the home page. When I disabled the Ajax all of the add to cart buttons would send the user to a page with the cart banner and thats it. This is very much like the problem Jingli had in the beginning. So in other words in order to get my cart to work correctly I had to publish the products tab in the main menu and enable Ajax. There is some type of misunderstanding between the  inner and outer templates I think. Im ok with the way the template works now. Im not too worried about the view cart mod (top right) updating when they add a product. as long as the add to cart buttons work. I like the popup add to cart so I prefer that to be enabled.


: Re: Redirect to homepage after empty cart
: aliko1979 February 14, 2009, 08:09:59 AM
Hello,

Sorry for the delay I forgot to ask you for FTP login details.  I need FTP access to update the files that are redirecting you to the homepage.  Please PM these and I can get this resolved for you.

Thanks,

Hello,

Could you pleased to send me instructions on how to update files myself?

If you have installed the VM files from the download section you shouldn't have this problem.  I checked your site and registered and do see the problem.  I am not sure why its not working (if you have installed the eTensity VM style files) so I would need FTP access to fix this.

If you haven't installed the files I would do this and the problem should go away.  We had to edit the VirtueMart files to get them to redirect to the VirtueMart component rather than "index.php"

Regards,

I am sending you ftp details in PM, please check it.


: Re: Redirect to homepage after empty cart
: aliko1979 February 17, 2009, 02:16:21 AM
any news????


: Re: Redirect to homepage after empty cart
: jonahh February 17, 2009, 10:53:27 AM
Hello,

It should be fixed now.  It appears not all the VM style files had been copied over to your site.

Regards,


: Re: Redirect to homepage after empty cart
: aliko1979 February 17, 2009, 01:42:05 PM
Hello,

It should be fixed now.  It appears not all the VM style files had been copied over to your site.

Regards,

I have checked, it works. Thanks a lot.


: Re: Redirect to homepage after empty cart
: agapaga June 17, 2009, 09:27:33 PM
At the risk of being off topic, what is the VM Styles Zip you say you have provided?  Was this something you sent to one of the Customers or is available in the downloads section; I could not find it there.  The reason is I had issues with VM 1.1 .. none of the prices were showing up for my products.  So, having only a few products posted, I did a new install of VM 1.3..  I knew I would lose the data for the products, but I also lost the styles throughout the site.  I have the S5 Dropdown Cart back (I had to re-install it, it disappeared completely) - and most of the site is back to normal (whamwireless.com) -- but I don't really remember all the small details of the styles - I do know the Add to Cart buttons on a product page has reverted back to the normal clunky VM version.  Please assist in any way possible.  I wonder if there is a package when you mention the "styles zip."  i looked through the downloads section and in my local files.  On a side note, the prices now show up on products correctly.  Any assistance is appreciated.  Originally installed the Site Shaper that comes with VM 1.1.


: Re: Redirect to homepage after empty cart
: jonahh June 18, 2009, 03:56:36 PM
Yes there is a zip of styles that you need to extract to the root of your Joomla install.  Its called "eTensity_VirtueMart_Style_Files_11.zip" and is located in the eTensity download category.


: Re: Redirect to homepage after empty cart
: agapaga June 25, 2009, 05:46:48 PM
Got it, thanks!


: Re: Redirect to homepage after empty cart
: goosewear July 12, 2009, 10:14:14 AM
Just wondering where in basket.php I need to make changes that will work in VM 1.1.3 ?

I see that changes have been made by admins, but no one posted any "how to...." in forums.
Just asking for FTP logins and so on.

Plz reply !


: Re: Redirect to homepage after empty cart
: goosewear July 13, 2009, 05:27:41 PM
As it seems right now I cannot checkout from the cart without ending up on the frontpage.
I hope that I made deleting from cart work.


: Re: Redirect to homepage after empty cart
: jonahh July 13, 2009, 11:04:09 PM
Please see:

http://www.shape5.com/component/option,com_smf/Itemid,75/topic,6104.0/

The problem is you never extracted the VM style files, which fix a lot of problems


: Re: Redirect to homepage after empty cart
: Boris Metlenko October 13, 2009, 06:54:05 AM
I'm having the same problems with 1.1.3
Are there any bug fixes for that?



: Re: Redirect to homepage after empty cart
: jonahh October 13, 2009, 08:30:09 PM
Did you see the above post and extract the files?