Page: | 1 |
Topic:

New freeware plugin - linkToOrder v0.1 for QC v4.x

treewood
OpenSolution
See profile of: treewood
2011-11-08 11:22:26
Votes: 0
Vote answer in plus Vote answer in minus
We've created new freeware plugin to Quick.Cart v4.x.

Plugin adds possiblity to check order status by clicking special prepared URL.
This link will display in order print page and it will be sent in email with order details.

You should know HTML and PHP basics to install this plugin.

Check out this plugin here:
http://opensolution.org/download,en,18.html?sDir=Quick.Cart/plugins

Good luck!
boboo
See profile of: boboo
2011-11-08 15:06:06
Votes: 1
Vote answer in plus Vote answer in minus
Nice plugin, but...
You use:
<a href="$sOrderUrl" target="_blank">

I mean: target=_blank. It gives an error by W3C.
Did you forget a smart js function targetBlank() ?
Instead of the 'target'
you can use:
<a href="$sOrderUrl" class="new-window">

-------------------------------------------------------
strzelectwo.kimla.de
treewood
OpenSolution
See profile of: treewood
2011-11-08 16:33:56
Votes: 0
Vote answer in plus Vote answer in minus
boboo - yes thank you ... i forget that target="_blank" is not valid :)
openzibi
See profile of: openzibi
2011-11-08 20:16:56
Votes: 0
Vote answer in plus Vote answer in minus
boboo - Sorry but I love "target="_blank" !
W3C will be love it in the future again...
We dont't use IE6. We use modern Firefox8, Chrome with tabs.

For" the enemies" of the _blank:

a[target="_blank"] {
padding-right: 16px;
display: inline-block;
background: url('img/new_window.png') center right no-repeat;
}


-------------------------------------------------------
hosting-domeny-strony - http://www.rhh.pl
boboo
See profile of: boboo
2011-11-08 21:38:34
Votes: 0
Vote answer in plus Vote answer in minus
every change i do on my page, i finish with pushing it through the w3c validator. and work around so long, till the result is green. i love green :-)

-------------------------------------------------------
strzelectwo.kimla.de
openzibi
See profile of: openzibi
2011-11-08 22:26:03
Votes: 0
Vote answer in plus Vote answer in minus
boboo - The future belongs to html5: http://www.w3.org/TR/html5-diff/

"The target attribute for the a and area elements is no longer deprecated, as it is useful in Web applications..."


-------------------------------------------------------
hosting-domeny-strony - http://www.rhh.pl
boboo
See profile of: boboo
2011-11-09 10:03:59
Votes: 0
Vote answer in plus Vote answer in minus
I believe in the future ;-)
But for today,
as long the "target" attribute will spit out the error on w3c, as long i will not use it.
One day, anytime... in the future.

-------------------------------------------------------
strzelectwo.kimla.de
tomtomtom
See profile of: tomtomtom
2012-01-29 14:29:27
Votes: 0
Vote answer in plus Vote answer in minus
Presne podle navodu. Link to order status se objevi po odeslani objednavky, ale na adrese z linku se zobrazi obsah objednavky, ale status se nezobrazi. V emailu s potvrzenim objednavky se ani link nezobrazi. Poradite mi prosim co delam spatne? Dekuji
Makaron
OpenSolution
See profile of: Makaron
2012-03-05 21:44:41
Votes: 0
Vote answer in plus Vote answer in minus
Also in my opinion this plugin doesn't work ok.
@Ludva: Edit file core/orders.php function sendEmailWithOrderDetails() and after line:
$oTpl = TplParser::getInstance( );

add this one:
$oPage = Pages::getInstance( );


and in the same function after line:
$aData = $this->throwOrder( $iOrder );

add this:


After this changes just edit file templates/orders_print.tpl and in block ORDER_EMAIL_BODY change variable $sOrderUrl to $aData[sOrderUrl]

-------------------------------------------------------
I helped? Like it: www.facebook.com/makwebpl
Page: | 1 |
 


If You want to do this operation, please log in first ».
If You don't have an account please register ».
Valid XHTML 1.0! Valid CSS! version: 2.2.0-alfa | powered by Quick.Forum