Email link to follow your product is using default template

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jun 13, 2013 8:29 am
Reply with quote
Report this post
Hello ,

After paying customer receives a email with the invoice and all the details.
There is a link view your order online.
The page is using the default template of the Joomla installation.
StoreBox is in use for the webshop only.
How can I organize and where that this page will use the StorBox template layout and look and feel?

Thanks for your help so far.
Warm regards
Webmiep
User avatar
Senior Boarder

teitbite
Fri Jun 14, 2013 9:20 am
Reply with quote
Report this post
Hi

Can You please show me the link produced for this page ?
User avatar
Moderator

GK User
Fri Jun 14, 2013 9:26 am
Reply with quote
Report this post
Hello,

I will send the link in a mail to you.

Thanks a lot for your time
warm regards
Webmiep
User avatar
Senior Boarder

teitbite
Fri Jun 14, 2013 12:51 pm
Reply with quote
Report this post
Hi

I have not received any mail with link. Can You please try using PM in forum instead ?
User avatar
Moderator

GK User
Fri Jun 14, 2013 2:42 pm
Reply with quote
Report this post
Yes I will
Thank you for mentioning this
User avatar
Senior Boarder

teitbite
Sat Jun 15, 2013 5:06 pm
Reply with quote
Report this post
Hi

I've checked that and the link should have one more parameter "template=gk_storebox", so should looks like this:

Code: Select all
index.php?option=com_virtuemart&view=orders&layout=details&order_number=ab4105&order_pass=p_5e543&template=gk_storebox


Unfortunately I was not able to track the file this modification needs to be done. Can You please send me a mail this link is visible for client. I'll try to look for common features from this.
User avatar
Moderator

teitbite
Thu Jun 20, 2013 2:32 pm
Reply with quote
Report this post
Hi

I was PM the answer from the user and position it for others to benefit from it:

Finally I found the file where to add the &template=gk_storebox
It is in the: mail_html_shopper.php
You can find this in:
com_virtuemart/views/invoice/tmpl
Line 48:
<?php echo $this->vendor->vendor_store_name ?>" href="<?php echo JURI::root().'index.php?option=com_virtuemart&view=orders&layout=details&order_number='.$this->orderDetails['details']['BT']->order_number.'&order_pass='.$this->orderDetails['details']['BT']->order_pass; ?>">

I changed it to:

<?php echo $this->vendor->vendor_store_name ?>" href="<?php echo JURI::root().'index.php?option=com_virtuemart&view=orders&layout=details&order_number='.$this->orderDetails['details']['BT']->order_number.'&order_pass='.$this->orderDetails['details']['BT']->order_pass.'&template='.'gk_storebox'; ?>">

And it is working!!!!
I am soooo proud!!
Thanks to your help I learned a lot.
User avatar
Moderator

teitbite
Fri Jun 21, 2013 5:57 pm
Reply with quote
Report this post
Hi

An answer to center the page (as asked in PM) is:

Code: Select all
body[data-layout="left"] .gkPage {
    margin: 0 auto !important;
}
User avatar
Moderator


cron