Forum Replies Created
-
AuthorPosts
-
hi
having had a look at the way it is right now, this might take a few more days to bring it up to scratch.
in the meantime though (in case you want to get going) you can do the following (which will be part of the next update)
on approx line 833 of wppizza-gateway-authorize.net.php you will find
function gateway_transaction_execute($gatewayReply,$orderId){right after that just add
do_action('wppiza_gateway_anet_verified',$gatewayReply, $orderId);so it will read
function gateway_transaction_execute($gatewayReply,$orderId){ do_action('wppiza_gateway_anet_verified',$gatewayReply, $orderId);and so forth.
in your themes functions.php you can then go wild as in
add_action('wppiza_gateway_anet_verified','my_function',10,2); function my_function($gwreply,$orderid){ /* do your cim stuff with the reply from authorize.net contained in $gwreply */ /* fyi: $orderid is the id of the order in the wppizza_orders table ...just in case you need it for something*/ }note, this action hook will only run when the reply from auth net has been (again) verified to make sure currencies etc match (but i guess that should be just fine, as otherwise it would mean someone has tampered with stuff somewhere)
hope that helps for the moment
> is there a way to remove the space between the £ and the Price
as it happens , this is actually hardcoded (i.e if currency value set left, its £ 1.99 if right it’s 1.99 £)
you could change this by adding/using/writing a bunch of filters (about 7 or so probably) but that sounds like overkill for such a relatively minor thing.in my book , the best idea would be for me to put this on my list of things to do (though cant give you an ETA) and make this filterable consistently by just using one filter where you decide to use a space or not.
for the moment therefore i would suggest you live with it as is (or prepare yourself for half a day of writing filters)> I can put this in a separate thread if required
don’t worry, it’s fine>I couldn’t find how to edit .wppizza-cart-fixed
you don’t “edit” this class, you just add declarations in your wppizza-custom.css
fyi: that class gets added by js to the relevant cart element as soon as it needs to /starts to scrolli would suggest add .wppizza-cart-fixed{border:1px solid red} for example to your custom css (while messing around with things) and you’ll see when it starts to get applied
actually , it might also be the case , that update checks only take place every so often (let’s say every 6 or even 12 hours or so) in which case the update would not show up until that time has expired since last check….
again, i’ll have to check exactly how that licensing thing does it’s bits..
for the time being though it’s not something you have to worry about (it’s something i need to check)i.e just de-activate (DO NOT UNINSTALL) overwrite files with new ones, re-activate, done…
>Still no update available.
wierd . will have to poke around a bit (it’s a third party plugin that is integrated into the extensions that deals with licenses )>I purchased the unlimited site key for this specific plugin.
yeah, i can see that>IF I download and update latest version, will I lose any settings I am put into the ingredients?
no (provided you do not uninstall it)
if you have access through your download/history on wp-pizza than that’s easiest otherwise i can also just send you the update by emailcan you de-activate and re-activate it once and then go to plugins and check if it now shows as being updatable please ?
have you activated the license ?
no you haven’t
if i go to http://www.broncossandwiches.com it’s still v4.5.1.1well of course if you do not update the plugin …..
as of version 4.5.2 this should now be fixed (alongside some other minor tweaks)
next couple of days or so, maybe later today even
>authorize.net transaction id, correct?.
yes
>get transaction id without modifying your plugin?.
you can do that as described/coded above without modifying thingshowever, that gateway – although working from what i can see – is quite old now and could be updated in a couple of places anyway. when I do this , i could easily also put an action hook in there that passes on the tx id with which you can do as you like
should of course not be an issue anymore since v2.11.6…
just thinking out loud for a sec, i would probably apply the same style that the containing div uses to the .wppizza-cart-fixed class for starters and see what happens then (would probably have to mess around a bit more, but might give you some ideas/basis)
>I was just asking for a bit of advice.
no problem, that’s what this forum is for after all
>Thank you.
you’re welcome. if i can give any advice i will do (even if – sometimes – it is to the effect of “nothing i am able to do” unfortunately)
just another bit of a hint (while i ‘m at it ) maybe my comment here regarding “wppizza-cart-fixed” might help too somewhat
https://support.wp-pizza.com/topic/sidebar-cart-scrolling-background/#post-6926
the “rest of the widget” as you call it is not a wppizza thing (obviously i would have thought)
really down to you how you style things. all i can say is that I have no control over other parts of your layout/theme so it’s somewhat up to you to make this work using appropriate css / js and whatnot
as an idea in your case, i would probably add some css (some gray border and more margin etc) to the class “wppizza-cart-fixed” as that’s the one that gets applied/added once “stickiness” of the cart takes place
add some stuff to “.wppizza-cart-fixed” class and you’ll see what i mean i think
>How do I do this?
wppizza->layout
sticky/scolling” cart settings [if used] -> Distinct CSS Background Colour when…
furthermore, instead of messing around with animations and calculations and whatnot , it would be A LOT easier to write a few lines of code for a particular theme rather than me trying to cater for all…
ignoring that fact that i works just fine on many themes that have a “normal” layout where it doesn’t go higher than its surrounding container (try twentytwelve and you’ll see that it is never further up than the top of the sidebar) i will just not spend any more time on this sticky cart thing as it’s a losers game and will never work on all layouts. (not even thinking about responsive layouts which have their own requirements)
if it works as is for someone, fine. if it doesn’t you have to find your own implementation for your particular theme
-
AuthorPosts