Author Topic: Price for products and 'add to cart' button displaying incorrectly  (Read 397 times)

YourUnityStore

  • Beginner
  • *
  • Posts: 7
    • Your Unity Store
Hello everyone!

Current installation:

* Joomla! 3.9.11 Stable
* Virtuemart 3.4.2

I have a couple of issues relating to the price for products and the 'add to cart' button set up.

1. Price - The price shown in my installation shows the value preceded by an underscore. So $300 shows as _$300. How do I remove the underscore?
2. This question and solutions I have found to resolve the two issues I have with the number and the up and down toggles  preceding the button all refer to defunct files in older versions of Virtuemart. There were some good recommendations to use CSS to removed these eg. "display:none!important." This works with removing the number (each items on the site is unique so we'll only ever sell one of each every time, together with up | down arrows but I can't align the button (where the number | up & down toggles used to be) so that the button is left justified, in line with the product description above the price and the cart button.

Can anyone help steer me in the right direction?

Thank you in advance!

Neil

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3534
  • using Matomo instead of Google Analytics
Re: Price for products and 'add to cart' button displaying incorrectly
« Reply #1 on: August 28, 2019, 17:09:04 pm »
Some things to try:
- Check the settings for the currency US-Dollar to make sure you don't have that underscore in the display options.
- Switch to a different site template to check if it is a template issue.
- Install a native version of VM 3.4.2 over your existing one, if you used the quick start package of your template, which might use customized or outdated files.
- Consider to update to VM 3.6.0 (make a backup first).
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9195
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Price for products and 'add to cart' button displaying incorrectly
« Reply #2 on: August 28, 2019, 17:53:51 pm »
images and live site urls would allow people to help you far better
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

YourUnityStore

  • Beginner
  • *
  • Posts: 7
    • Your Unity Store
Re: Price for products and 'add to cart' button displaying incorrectly
« Reply #3 on: August 28, 2019, 18:52:34 pm »
Some things to try:
- Check the settings for the currency US-Dollar to make sure you don't have that underscore in the display options.
- Switch to a different site template to check if it is a template issue.
- Install a native version of VM 3.4.2 over your existing one, if you used the quick start package of your template, which might use customized or outdated files.
- Consider to update to VM 3.6.0 (make a backup first).

Thanks, JJK!

- Checked currency settings and clear of any underscores.
- Using an alternative template still shows the underscore.
- I will update to 3.6.0 because it's the right thing to do and because it may help solve this little glitch.

[/quote]
images and live site urls would allow people to help you far better

Thanks, GJC!

We haven't launched this new charity website and so I don't have permission to publish it. Not helpful, but the client is always king.

I do however have permission for a VM coder to provide them with admin access in order to troubleshoot this and the other problems of the 'add to cart' button being out of alignment and now it would appear, the numbering issue (see image below).

You have helped me in the past to refine the Canada Post extension, so we have already collaborated.

Meanwhile, here's an image of the issues:

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9195
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Price for products and 'add to cart' button displaying incorrectly
« Reply #4 on: August 28, 2019, 19:17:23 pm »
If you drop me an email can have a quick look
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

YourUnityStore

  • Beginner
  • *
  • Posts: 7
    • Your Unity Store
Re: Price for products and 'add to cart' button displaying incorrectly
« Reply #5 on: August 28, 2019, 19:30:40 pm »
Thanks again for all your help!

I've sent you login credentials via your website contact page. Hope that's ok.

Cheers!

Neil

Edit: Now also sent to your forum email, for ease of reference. The url is https://www.unitystore.org/administrator

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9195
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Price for products and 'add to cart' button displaying incorrectly
« Reply #6 on: August 28, 2019, 22:55:54 pm »
the price thing is stray div

either add somewhere

.price-crossed:after {
    border-top: 0 solid red !important;
}
or

.price-crossed {
    display:none !important;
}

add to cart

.addtocart-bar span.addtocart-button {
    position: unset !important;
}

.product-price {
    margin: 0px 0px 0px 0px !important;
}
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

YourUnityStore

  • Beginner
  • *
  • Posts: 7
    • Your Unity Store
Re: Price for products and 'add to cart' button displaying incorrectly
« Reply #7 on: August 29, 2019, 02:39:52 am »
That worked brilliantly - thank you very much for your help!

I'll be in touch regarding your CPost plugin.

Cheers!

Neil