News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Price for products and 'add to cart' button displaying incorrectly

Started by YourUnityStore, August 28, 2019, 15:39:22 PM

Previous topic - Next topic

YourUnityStore

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

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

images and live site urls would allow people to help you far better
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

YourUnityStore

Quote from: jjk 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).

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]
Quote from: GJC Web Design on August 28, 2019, 17:53:51 PM
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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

YourUnityStore

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

YourUnityStore

That worked brilliantly - thank you very much for your help!

I'll be in touch regarding your CPost plugin.

Cheers!

Neil