Forum Replies Created
- AuthorPosts
-
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://www.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
PS, transaction_details will not contain any cc details though as they are – of course – not just being sent all over the place and stay on a.net servers….
i’m not really suggesting anything as such.
the main problem is, that i don’t really know anything about CIM and just have to go by some documentation/links i have been able to dig up somewhere. So if you *know* that these two can happily live together/independently, maybe the following is something that helps
after every executed order the following action runs
wppizza_on_order_executed
passing on the order id. so perhaps this sort of thing (?):
add_action( 'wppizza_on_order_executed', 'my_cim_function'); function my_cim_function($orderId){ global $wpdb; $orderDetails = $wpdb->get_row("SELECT * FROM " .$wpdb->prefix . "wppizza_orders WHERE id='".(int)$orderId."' AND initiator='anet' "); $transaction_id=$orderDetails->transaction_id; $transaction_details=maybe_unserialize($orderDetails->transaction_details); /* the above two vars hold the - you guesses it - transaction id and all transaction details returned from auth.net maybe you can now do something with this regrading CIM ? */ }
does that help perhaps ?
[edit 19-Jan-2015:] just for reference – the above can be simplified a bit . please see here
https://www.wp-pizza.com/topic/after-every-order/#post-7180ok then , this only seems to be the case when using 2 textboxes per item. i’ll fix that asap
- AuthorPosts