Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stumped!

Featured Replies

This has completely got me going round in circles now.

 

I am using the WordPress ecommerce plugin "WP e-commerce" along with another plugin, "Simple Shipping".

 

Now, everything is great, works a treat. I do have a small issue though, that I am unsure if is even possible.

 

In the users accounts area I have created an area to show the delivery option selected at checkout, and estimated time of delivery.

 

No matter what I try, this just doesn't work. I can, however, get the total shipping cost to display correctly in its place! So...I was wondering if it is at all possible to do some kind of edit/rewrite on the out put of the string that calls the shipping cost, (ie rather than show £6.00, it would show something like "Next Day")?

 

I tried a simple replace of certain parts of the string, like below

 <?php
   $string = "An infinite number of monkeys";
   $newstring = str_replace("monkeys", "giraffes", $string);
   print $newstring;
?> 

..but because the initial string is pulling the contents from the database, this didnt work out too well!

 

Suggestions anybody?

 

Failing that, anybody here an expert with the above plugins?

Have you tried throwing preg_replace at it?

 

Vaugely remember something about string replace failing if it came after a mysql_real_escape_string statement.. something to do with encoding.

Edited by Sogo7

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.