xentar
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Woocommerce stock issueThanks a lot, qtwrk
Talked with the dev from the erp sync we are using, and he going to update their module implementing the snipet you shared with me. Looks like the issue was on how it was updated the stock behind the curtain, no on orders per se.- This reply was modified 9 months, 1 week ago by xentar.
Forum: Plugins
In reply to: [LiteSpeed Cache] Woocommerce stock issueThanks, going to give it a try. Need to contact someone who developed a sync with an ERP, i think there must be the issue… Let see if i can implement there.
Forum: Plugins
In reply to: [LiteSpeed Cache] Woocommerce stock issueOk, I did the tests. These two days, i left a log with the hooks you proposed. Yes, they are triggered (if they are sales, if they are quotes, no [thank goodness or I have another problem hehe]) Looking at, i guess the issue is another then…
What snipped i need to call for refresh/purge inside that hooks or individual producs/group? probably i’m going to need to use it in another hook provided by an external ERPForum: Plugins
In reply to: [LiteSpeed Cache] Woocommerce stock issueProbably my way to explain it was open for confusion, jeje
I mean that most orders are made manually on the backend of woocommerce. So, they receive a request via mail, the shop-managers go to woocommerce>orders, create a new one, fill the products themselves, save the order, generate a pdf/html (if is a quote) and notify the client. The stock of the products is reduced when the sale is concreted.
The site work this way because is some kind of hybrid commerce. They sell and do quotes, and most of the sales are request via mail or phone. Of course, is possible to buy or ask for quotes from front end, but there are a lot of old clients that prefear the direct contact.
My guess is that the product page purge on stock change is not being updated because of this “backend” way of doing things.Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Refresh time of expired post woocommerceToo bad i can’t edit. Actually, figured how to do it… sometimes i forget the most elemental function call… i was tired, hehe.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Refresh time of expired post woocommerceNo problem. Already found how to do it. I wanted to style different classifieds based on the product payed, found out that woocomerce added a meta with the product id, so used that.
Anyway, need a hand with a second thing, well… is the extend button.
This is what i did:
On manage edit i edited the update to extend button if the post was expired. This one called the same function of edit but instead, change the action to “extend” instead of “update”, and that activate the other function for the cart, etc… Its work fine, but the problem is… what happen if i want to change my listing? The action kidnap the process and skip the save… Any suggestion?Btw, you forgot to add this on adext_wc_payments_form_load:
// do not show payment options when editing Ad.
$id = adverts_request( “advert_id” );
$ad = get_post( $id );
if( intval($id) && $ad && in_array($ad->post_status, array(“publish,expired”) ) ) {
return $form;
}Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Refresh time of expired post woocommerceThanks a lot, Greg. Thats a good lead!
Btw, no sure, but looks like your contact form (on your website) isn’t working as should. Check it. Sent you a msg some time ago with another question, but no answer.When i activate the plugin the editor can’t add posts or anything, cause the post/pages/etc appear as a white page. My guess is Ajax, but still don’t find the reason.
Thanks for the answer @mattyrob
Found a way to add links and looks fine… Still don’t find the cause of the dates, could be that i added the wp_cron fix near the time of the digest and that “updated” all my dates? extrange if is the case cause in the tables the dates looks fine…Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] tablelinks orderFound a solution. disabled the code that merge the link and added it to the $tablelink line.
Thanks a lot for the help!
Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] tablelinks order@mattyrob,
if i don’t add the array_pop() the last piece get glued to the penultimate term like this:[category] Title[category] Title
So i get the last one with array_pop, add the “\r\n[” and separate it from the penultimate… but with array_pop still glue it… in some way:
(copy paste of the mail)[Busco Práctica] no funciono
https://www.url.com/[Busco Trabajo] Otra prueba con separacion
https://www.url.com/[Compro] Prueba
https://www.url.com/[Compro] prueba ingreso WP 3
[Vendo] desde Salinas
https://www.url.com/Forum: Plugins
In reply to: [Subscribe2 - Form, Email Subscribers & Newsletters] tablelinks orderThanks for the fast answer. I’m no that great programmer (really spaghetti if you ask me) but following your idea i got this:
('' == $tablelinks) ? $tablelinks .= "[" .$name_category . "] " . $post_title : $tablelinks .= " [" . $name_category . "] " . $post_title; $piece = explode("[", $tablelinks); sort($piece); $lastpiece = array_pop($piece); $tablelinks = implode("[", $piece); $tablelinks .= "\r\n[" .$lastpiece;
but i’m sure i’m doing something bad cause the last term don’t appear with his link, it appear glued to the penultimate term. In general works… but with just that tiny problem. Probably isn’t the place to ask, cause this is more “programation” than plugin support… ^^U
Forum: Themes and Templates
In reply to: Ascetica ThemeProbably you already fixed it, but just for future reference, you need to change the slider option in:
js/footer-scripts.jsslidershow: false
to
slidershow: trueIf i don’t bad remmember, that fixed it to me
gl