Terms of Services and Refund Policy links not working

12.04.2011 23:37
#1
iJack
Joomshopping forum user no avatar
Name: Jack
30.03.2011
Posts: 61
Quote
Terms of Services and Refund Policy links not working

My shop is set up and ready to rock 'n roll. Only one little problem left. On the order confirmation page where the user clicks to agree to the terms and conditions and the refund policy, the links don't work. Also the link to the refund policy in the email does not work. It goes to a 404 error page.
Wonder if it is not something to do with the SEF router? For example, the link to the refund policy in the email points to this: index.phpindex.php?option=com_jshopping&controller=content&task=view&page=return_policy&tmpl=component&Itemid=501


Joomla: 1.6.1
JoomShopping: 3.1.1
PHP: 5.2.14
MySQL: 5.0.45
Website Url: http://www.longboardingsa.co.za/shop/category.html
 
13.04.2011 10:12
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16494
Quote
Aw: Terms of Services and Refund Policy links not working

How do you create a menu SHOP

 
13.04.2011 15:46
#3
iJack
Joomshopping forum user no avatar
Name: Jack
30.03.2011
Posts: 61
Quote
Aw: Terms of Services and Refund Policy links not working

I go to Menu/the menu (in my case, topmenu), then I select the menu type?

I filled in the return policy and all that stuff in the Static Text area.

PS, where and when is the description email sent? What goes in there?

 
13.04.2011 16:55
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16494
Quote
Aw: Terms of Services and Refund Policy links not working

I go to Menu/the menu (in my case, topmenu), then I select the menu type?

Next?

 
13.04.2011 17:22
#5
iJack
Joomshopping forum user no avatar
Name: Jack
30.03.2011
Posts: 61
Quote
Aw: Terms of Services and Refund Policy links not working

Then I click on Shop.
Then I type a Menu title.
Then I go to page display options, type a page title, select page heading yes, type a page heading and then I click save.

 
13.04.2011 20:59
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16494
Quote
Aw: Terms of Services and Refund Policy links not working

I do not know what the problem is
I have everything working.

Try changing
components\com_jshopping\templates\default\checkout\previewfinish.php

SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component')

replace to

SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component', 1)

 
13.04.2011 21:45
#7
iJack
Joomshopping forum user no avatar
Name: Jack
30.03.2011
Posts: 61
Quote
Aw: Terms of Services and Refund Policy links not working

mm, unfortunately it did not work, still get this:

http: //www .longboardingsa.co.za/index.phpindex.php?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component&Itemid=501

and

http: //www. longboardingsa.co.za/index.phpindex.php?option=com_jshopping&controller=content&task=view&page=return_policy&tmpl=component&Itemid=501

(added spaces so the links do not work)

 
13.04.2011 21:49
#8
iJack
Joomshopping forum user no avatar
Name: Jack
30.03.2011
Posts: 61
Quote
Aw: Terms of Services and Refund Policy links not working

ok i tried doing this. i removed the index.php so i have this:

SEFLink('?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component')

and this:

SEFLink('?option=com_jshopping&controller=content&task=view&page=return_policy&tmpl=component')

and now it works??

where do i change it for the link in the email?

 
13.04.2011 21:54
#9
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16494
Quote
Aw: Terms of Services and Refund Policy links not working

components\com_jshopping\templates\default\checkout\orderemail.php

 
13.04.2011 22:02
#10
iJack
Joomshopping forum user no avatar
Name: Jack
30.03.2011
Posts: 61
Quote
Aw: Terms of Services and Refund Policy links not working

excellent. thank you.

i'm thinking, maybe this is a problem with joomla's sef router? remember i'm also using joomsef.

also, what is the 'description email' for in "static text". when is this sent, where does that text go?

if you don't mind, just one question. i want to make a login and registration menu available but only for guest users. what code do i use in joomla 1.6 to check if user is logged in?
i have searched the internet and joomla forums but cannot get an answer and i cannot figure out how to do it with the acl. was hoping maybe you as a developer can tell me??

would be awesome if you don't mind answering that. bit stuck with it :/

 
13.04.2011 22:36
#11
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16494
Quote
Aw: Terms of Services and Refund Policy links not working

$user = &JFactory::getUser();

if (!$user->id) {
....
}

 
13.04.2011 22:38
#12
iJack
Joomshopping forum user no avatar
Name: Jack
30.03.2011
Posts: 61
Quote
Aw: Terms of Services and Refund Policy links not working

oki. tried that, but no luck. maybe i did something wrong, will try again.

where can i get more info about the Description email under 'static text'?

thanks for all your help. much appreciated!

 
Copyrights MAXXmarketing GmbH. All Rights Reserved