Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter pritchs

    (@pritchs)

    Unfortunately, I did not. I am using Elementor Pro for what that’s worth. I finally gave up.

    Sorry I’m not more help.

    Steve P

    Thread Starter pritchs

    (@pritchs)

    Oops! Should have thought of that. Thanks.

    Thread Starter pritchs

    (@pritchs)

    I have the Pro version. Do you have an example of the regex to accomplish this?

    Thanks,
    Steve P

    Thread Starter pritchs

    (@pritchs)

    This could potentially be due to creating the custom post types etc. on a staging site and then moving it to the live site. Something might have gotten messed up in the transfer. I should have deleted the posts in the staging site before the move.

    I’ll still play with it on the staging site and see if I can get rid of the stubborn thing w/o making things worse.

    SP

    Thread Starter pritchs

    (@pritchs)

    I removed them first on a staging site and after that backed up and deleted them on the live site. No negative behavior so far.

    Weird thing though. I had five “contributors”, four of which I wanted to get rid of. One was my first and last name which I wanted to keep, three were nonsense names and the last was my first name. The nonsense names were removed easily but my first name only contributor has withstood all of my attempts to get rid of it. I can live with that, but it is curious how removing the same records that got rid of the nonsense names didn’t work with my first name only contributor.

    Thanks for the responses. Much appreciated.
    Steve P

    Thread Starter pritchs

    (@pritchs)

    I used the WordPress UI to delete the test posts. I too expected them to go away. I’m way too rusty in my SQL to go after something that way.:)

    I was hoping to avoid the old “try it and restore from backup if it blows up”. ??

    I’ll give it a shot and see what happens.

    Thanks
    SP

    Thread Starter pritchs

    (@pritchs)

    OK, as inevitably happens, I found at least part of the answer to my question as soon as I posted the question. The old values are in the “options” table and the “post_meta” table.

    So, now I need to know if I can just delete those records or if I need to do something more complicated.

    Steve P

    • This reply was modified 2 years, 6 months ago by pritchs.
    Thread Starter pritchs

    (@pritchs)

    
    [wp_cart:Test Product:price:[Class|Class 1, 100|Class 2,200|Class 3,300]:Product:price:var1[Days|Thursdays|Saturdays ]:end]
    

    My syntax is most certainly wrong, but this is an example of what I’m looking for. It would produce one drop down with the label of “Classes” and show “Class 1”, “Class 2″, Class3” as three choices in the drop down.

    Then there would be a second drop down labeled “Days” and show “Thursdays” and “Saturdays” in the drop down.

    Both fields would show up in the cart and in the order so that the user would know that someone signed up for “Class 2” and selected “Thursdays” as the night they want to attend.

    When I use the SC above, I get a PHP error:

    Warning: A non-numeric value encountered in /app/public/wp-content/plugins/wp-ultra-simple-paypal-shopping-cart/wp_ultra_simple_shopping_cart.php on line 406

    This seems to happen whenever shipping isn’t included in the SC.

    The rest of the error message is as follows:

    
    #	Time	Memory	Function	Location
    1	0.0012	366848	{main}( )	.../index.php:0
    2	0.0031	367136	require( '/app/public/wp-blog-header.php' )	.../index.php:17
    3	0.6479	7672936	require_once( '/app/public/wp-includes/template-loader.php' )	.../wp-blog-header.php:19
    4	0.8071	8153560	include( '/app/public/wp-content/themes/generatepress/page.php' )	.../template-loader.php:74
    5	0.8823	8524952	generate_construct_sidebars( )	.../page.php:62
    6	0.8824	8524976	get_sidebar( )	.../sidebars.php:34
    7	0.8824	8525352	locate_template( )	.../general-template.php:110
    8	0.8830	8525432	load_template( )	.../template.php:647
    9	0.8835	8525776	require_once( '/app/public/wp-content/themes/generatepress/sidebar.php' )	.../template.php:688
    10	0.8839	8529872	dynamic_sidebar( )	.../sidebar.php:37
    11	0.8845	8531368	show_wp_paypal_shopping_cart_widget( )	.../widgets.php:742
    12	0.8848	8531360	print_wpus_shopping_cart
    
    
    Thread Starter pritchs

    (@pritchs)

    OK, your code worked… of course! ??

    However, the statement I suggested for the label on the total line doesn’t. When I echo template_type, it’s empty.

    <?php echo 'template type = ' . $template_type ?>

    There is plenty of code that you have posted that has that variable in it so I must be doing something wrong, but I don’t know what.

    Again any suggestions would be appreciated.
    Steve Pritchard

Viewing 9 replies - 1 through 9 (of 9 total)