Great Plugin, however I want to change the css styling and the message that appears when your cart has reached its full quantity.
Where are those files, thanks!
Thanks for the kind words!
You’ve asked about a couple of things slated for change in the next version, coming out early in the new year.
CSS – Currently, the CSS can be overridden via direct input in the options screen. Next round, I’ll offer a css shutoff so you can copy in and customize your css directly in your theme.
Custom Messages – Currently, messages are created on the fly, and while there are two different message formats offered in the options screen, customization is difficult (can really only do it using the POT function). Next round, a simple override message will be available by rule, along with a variety of custom shutoff options.
Thank you, I will use the input area for the CSS.
In regards to the Messages, I really would like to add a line space in between the following to neaten things up a little:
“Cart Maximum Purchase Error – for the product(s) in this group:”
“A cart maximum quantity of X units for the total group may be purchased. The current total for all the products in the group is: X units.”
If that possible with the current code? If so, what file do I use.
Also, will we be notified when the new release is available and will it be free for us customers?
Last question first – all the upgrades I mentioned will be available on the free version, and you’ll be notified via the normal WordPress update nag in wp-admin..
As for introducing the spacing you desire, I’m sorry to say the only way of doing it is via a code hack… I can give you the code, if you like, but it’ll not be pretty.
Yeah I would love that code if you don’t mind.
Replace line 1021 in vtmax-apply-rules.php
$message .= __('<br /><span class="errmsg-text">A cart maximum quantity of <span class="errmsg-amt-required"> ', 'vtmax');
$message .= __('<br /><br /><span class="errmsg-text">A cart maximum quantity of <span class="errmsg-amt-required"> ', 'vtmax');
- The topic ‘Changing the CSS styling and Message’ is closed to new replies.