randellbrantley
Forum Replies Created
-
Christopher,
Thank you so much. That works perfectly.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Sandbox stopped workingIt just sprang back to life after hours of not working and confirmed 20 order.
It must have been a problem at PayPals end.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Quotes in title break trash buttonThanks for your help
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Quotes in title break trash buttonThanks for that advice.
I tried breaking it with php and the short code with –
test product é ? ?
– as the title, it seems to work OK for me and the quantity can be changed on the basket page.
I will carry on using my slight modification since it seems to be working, at least for me.
Thanks for the help.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Quotes in title break trash buttonThe product name is: Anne Bonny “hang’d like a dog” – T-Shirt
With the shortcode if try:
name=”Anne Bonny “hang’d like a dog” – T-Shirt”
or
name=’Anne Bonny “hang’d like a dog” – T-Shirt’
I get “Error! You must specify a product name in the shortcode.”
I am now testing this on a different site from the one where I originally had the issue and I can’t replicate the original problem where, when using php, the trash button stops working in the shopping cart.
However, with the php code the product name gets truncated at the first double quote, so that is reads: Anny Bonny.
As I said in my original post I can get the php to work perfectly if I alter the plugin code in wspsc-cart-functions.php to escape all the input tag name attributes.
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Quotes in title break trash buttonIt was actually for double quotes with an apostrophe. However, the problem also occurred when I took the apostrophe out:
Anne Bonny “hang’d like a dog” – T-Shirt
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Quotes in title break trash buttonIt’s a bit more complicated than that. I am using a function call.
$product_title = esc_attr($post->post_title); $title_uk = $product_title . ' **UK postage**'; $title_europe = $product_title . ' **Europe postage**'; // UK postage $cart_button_uk = print_wp_cart_button_for_product( $title_uk, $price, $postage_uk, $var1, $var2, '', array('thumbnail'=>$design_image_src[0]) );
The other attributes are set on an options page.
Forum: Plugins
In reply to: [Owl Carousel] Responsive Single ItemOoops
Looking at your code on the example I realised it was my css causing the problem.
Changing width: 960px; to max-width 960; for the page width and setting the next div to width: 80%. This solved the problem.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Last fix broke something elseThe new version seemed to have fixed it.
First, WOW. It worked.
Thank you very much for your fast work.
Second, it had not crossed my mind that I could do the registering all in one function. Thank you again, my amateur code is a little neater now.
Very nice plugin, thanks.
Pasted here (if I did it right) https://pastebin.com/77zk9tSK
Forum: Fixing WordPress
In reply to: Random Image PermalinksI am afraid that I can not supply a link because the site is not live.
Here are two part urls though:
wpeng/ceramic-eco-stove-photographs/attachment/6/
for a file 6.jpg and
wpeng/ceramic-eco-stove-photographs/2-4/
for 2-4.jpg
Both are in the same gallery and were uploaded at the same time. Why is the premalink not the same for both?