sparkweb
Forum Replies Created
-
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberIf you’d like to use this with FoxyCart 2.0’s new “Newsletter Subscribe” feature you’ll want to tweak the code in your datafeed template a little bit. (Don’t put any code in your checkout template.)
Line 4 would say:
if ((string)$custom_field->custom_field_name == "newsletter_subscribe" && (string)$custom_field->custom_field_value == "1") {Once you’ve updated this, try refeeding the test order from the transaction page at FoxyCart.
Edit: I’ve updated the docs and code samples to make this more clear.
Forum: Plugins
In reply to: [FoxyShop] Proceed Checkout Disable until tax is calculatedThis is some code that you’d need to write in the cart template in the FoxyCart admin. The tax gets automatically calculated in the checkout though once they enter their billing information.
I’d probably recommend that you hit up the FoxyCart forum at https://forum.foxycart.com for help on what kind of javascript might be necessary. But I don’t think it should be a requirement. They can just get the tax assigned on the checkout. The tax calc on cart is just a preview.
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Filter list of posts to updateThat’s probably for the best. Actually the best way to manage this is to do it directly in the database.
Forum: Plugins
In reply to: [FoxyShop] help with dkey saved variations in modal product detailsGlad you got it figured out. Thanks for posting back.
Forum: Plugins
In reply to: [FoxyShop] help with dkey saved variations in modal product detailsHmmm. Nothing comes to mind at the moment. If you are getting
updateVariations is not definedit sounds like it might not be loaded yet. Make sure that it’s queued to only be fired after everything is loaded. Make sure that updateVariations is loaded when this tries to run.Forum: Plugins
In reply to: [FoxyShop] Generating an Add to Cart Link DynamicallyThanks for your email. If you aren’t concerned about the security of doing links without the hashing, just uncheck the “Use Cart Validation” option in the FoxyShop settings and then uncheck that same feature in the FoxyCart advanced settings.
You could try doing:
<?php echo do_shortcode('[product name="extherminate-safe-heat-kit" variations="Extra=Cord{p+50}"]Add To Cart[/product]'); ?>Forum: Plugins
In reply to: [Custom Field Bulk Editor] Unable to save custom field and valueI’m not sure what to say. It’s definitely not something I can troubleshoot on this end since I can’t duplicate the issue. I’d recommend reviewing the actual contents of the database for clarificiation on what’s happening.
Forum: Plugins
In reply to: [Codestyling Localization] PHP Notices to FixHmm – if you are having the problem after the plugin is removed that sounds like another problem. Maybe some caching going on?
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Unable to save custom field and valueI think your issue has to do with ACF. Check the database. I added some fields with ACF and I see them in the database but not in the custom field box. So I think that ACF hides them from the custom fields box to keep things simpler. Also, it looks like there are two fields for each one that ACF does. You might try this plugin to make things clearer:
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Not deleting from the DatabaseHi Terry, I wasn’t able to duplicate this behavior. I deleted the post type by saving a blank one and then I checked in the database itself and it was really gone. Could that other plugin be doing some caching? My recommendation would be to check in the database itself to confirm.
Forum: Plugins
In reply to: [Custom Field Bulk Editor] WP 4 Edit Flow = ConfusionHi DBJ, I’ve confirmed that it’s Jetpack, but beyond that, I can’t really go much farther without rebuilding the entire structure of how this plugin is built so that it’s not tied to the CPT itself. Jetpack seems to be taking over in a way that doesn’t allow other plugins to hook into it. Sorry about that….
Forum: Plugins
In reply to: [Custom Field Bulk Editor] WP 4 Edit Flow = ConfusionThe url you need is:
http://YOURSITE/wp-admin/edit.php?post_type=YOURPOSTTYPESLUG&page=cfbe_editor-YOURPOSTTYPESLUG
Beyond that, I have seen occasionally that some plugins or themes really monkey around with default stuff an make the page inaccessible. Not sure what to say about that. 🙁
Forum: Plugins
In reply to: [Custom Field Bulk Editor] long list of postsMy bad! I was looking at the code wrong. It’s
page_number. You can also setposts_per_pagebut be careful with that as it really bogs down after 200 on a page.Forum: Plugins
In reply to: [Custom Field Bulk Editor] long list of postsUnfortunately, there aren’t any pagination buttons. Just add &page=2 or &page=3, etc to the url bar to get farther down the line. I agree it’s not as easy as buttons, but that’s what it is right now. 🙂
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Custom field renaming not workingI think the easiest solution here for you might be to do a quick sql query in your database. Or put this in your functions file:
global $wpdb;
$sql = "UPDATE $wpdb->postmeta SET meta_key = 'NEWFIELDNAME' WHERE meta_key = 'OLDFIELDNAME'";
$wpdb->query($sql);Then open a page on the site, then remove the code from functions.php.