postalboy
Forum Replies Created
-
@wckalkulator thank you! I need to go back to school and learn math again. I fixed the formula and it’s working.
Do you know what style I’d need to change this to so that the text appears on multiple lines?:
B. I think label tag has display:block style. Anyway it should be fixed in your CSS styles. Sorry but I am away from computer for couple of days.
By the way, do you have a donation link?
@wckalkulator I also tried adding it as a conditional formula but then it started ignoring the minimum value calculated (eg. £199). When adhesive was selected, the calculator output a large value (~£700,000)
@wckalkulator no, sorry.
I tried to add the formula via the price add on method but now the calculator is outputting very high numbers:
@wckalkulator thank you! This worked perfectly. Many thanks for your swift response.
I have now run into trouble again (probably my misunderstanding rather than a problem with the plugin):
A.
I am trying to add an option so that the customer can get the correct amount of adhesive with their glass (ie. the calculator will calculate the price for a sufficient amount of adhesive for their glass size).
I added this to the calculator:
However when I select “Yes” on the front end, the total is unchanged and no extra price is added for the adhesive.
B.
Also, when I add a long title for one of the fields, the text doesn’t move to a new line and therefore makes the input boxes very small (I tried adding “Text after Title (on Product Page)” so that all the text wasn’t in the title box but this text was not shown on the front end of the site).
Is this an issue with my theme or the plugin?
- This reply was modified 3 years, 8 months ago by postalboy.
@wckalkulator I tried the following formula:
{width} * {height}*0.000425 < 199 == 199
ie. the minimum price should be £199. However, the price now outputs at £1 no matter what I enter into the calculator.
- This reply was modified 3 years, 8 months ago by postalboy.
@wckalkulator final question, how would I set a minimum price in the calculator?
eg. the customer enters a Width value of 500 and a Height value of 500 and the price is $10. However, I don’t want any price that the calculator outputs to be below $20.
@wckalkulator thank you very much, this worked perfectly!
The only other issue I’m experiencing is that the field titles aren’t displaying on my site: https://imgur.com/a/apxHE5r
edit: resolved this via CSS (the label class was set to white in my theme) – thanks again for your help
Great support, would appreciate more than just canned responses.
Forum: Themes and Templates
In reply to: [Storefront] Best way to insert shortcode on the shop pages?@daniyalahmedk Wow! It works perfectly – thank you for all your help! 🙂
Forum: Themes and Templates
In reply to: [Storefront] Best way to insert shortcode on the shop pages?The only thing is, the [test] appears at the top of the page (as shown in @daniyalahmedk screenshot) but also at the bottom of the page as shown here: https://imgur.com/a/XYzGloW
Thanks again for all the help given so far.
Forum: Themes and Templates
In reply to: [Storefront] Best way to insert shortcode on the shop pages?@rainfallnixfig thank you! works perfectly 🙂
Forum: Themes and Templates
In reply to: [Storefront] Best way to insert shortcode on the shop pages?@daniyalahmedk thank you very much! This works perfectly.
Do you know what I would need to add to the code to only target mobile users?
if ( !wp_is_mobile() ) add_action( 'woocommerce_before_shop_loop', 'custom_woocommerce_after_shop_loop', 99 ); add_action( 'woocommerce_after_shop_loop', 'custom_woocommerce_after_shop_loop', 99 ); function custom_woocommerce_after_shop_loop(){ echo do_shortcode('[test]'); } }I tried to use the above code but it was still targeting desktop as well as mobile.
Thanks again for your help.
@xue28 ok thanks but I used the plugin WooCommerce Google Analytics Integration to implement the tag on the site – so how do I now add the google ads code to the tag, seeing as this plugin has been used to implement the tag in the first place?
@danndumia thanks but how do I edit the global site tag that’s being implemented by the plugin to include ‘gtag(‘config’,’AW-CONVERSION_ID’);’ – or is there some other way?
@woobewoo many thanks Nick, that’s great.
I’m not sure how much control storefront allows as to the positioning of the plugin but this location on the page would be ideal: https://imgur.com/a/ghLVXOy
I tried moving the filter below the header and it looked too high on the page there relative to the items around it.