ddoddsr
Forum Replies Created
-
ngrok ( the tool that Valet uses ) returns a link like this:
https://123e4567.ngrok.io -> https://localtestdomain.testSo would I put
https://123e4567.ngrok.io/wp-admin/options-general.php?page=object-sync-salesforce-admin&tab=authorizein both the Salesforce Manage Connected Apps and the setup for Callback URL?
When I tried this with ngrok running I get a wordpress login prompt. After logging in i’m at the dashboard.
ngrok shows:
GET /wp-admin/options-general.php
302 Found 404.67msEarlier I got a salesforce screen prompting me to accept the connection. I don’t get that now.
I am using a scratch org url for login to SFForum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] How to make the quantity_input_args hiddenThat worked, of course to use the object reference and filter it at the same place i’m grabbing the object reference.
In this case we are selling a registration to an event with the attendees names as a part of the variation. We only every want one of these for each name in the cart.Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Check if Plugin is activeI also wanted “Enabled” or not so I used
add_action( ‘init’, function () {
foreach ( WC()->integrations->get_integrations() as $integration) {
if ( $integration->id == ‘woocommerce-cart-stock-reducer’ ) {
$this->wc_cart_reducer_enabled = $integration->cart_stock_reducer ;
}
}
});Thanks
Forum: Plugins
In reply to: [WooCommerce Cart Stock Reducer] Check if Plugin is activeI do want to test if it is enabled. WooCommerce integrations is new to me so I’ve not found how to grab the object instance .
Kick off a sync
No did not add a meta field, I read the hook documentation as being able to set a “virtual” field and value to map to Salesforce… A field that wordpress doesn’t care about.
Similar to the method used in the foo_field example to add a mapping field on the WP side.
I’ll just populate a real field and map that to Salesforce, that will ick off a sync.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Pushing all Users to ContactsI can do it as a bulk action and update a field for each user but that is pretty clumsy. But it works and queues up the changes.
thanksI don’t see the Account ID field as an option that you can map.
I was expecting to have a wordpress object mapping field ‘account_id’ that I would map to the Contact’s Account ID.
And are you saying that you want a field in WordPress – called “account_id” to be populated with a value from Salesforce?
No, the value in account_id to populate a field in Salesforce
Forum: Plugins
In reply to: [Object Sync for Salesforce] Adding Tab and Markup to Tab with developer hookOK thanks, i can do that
Forum: Plugins
In reply to: [Object Sync for Salesforce] Pushing all Users to ContactsI added the 2nd question about using the developer hook for adding a field in another thread.
With the constraints we have at the moment I just put the WP site on an accessible server. thanks
Forum: Plugins
In reply to: [ALO EasyMail Newsletter] Cannot import .csv files?I just imported a list
data was formatted like this
“email”;”name”not comma but semi colons.
Dan