Show Posts

Messages - cbarg2004

Pages: [1]
Support / Re: Is there supposed to be a Source code box thing?
« on: March 31, 2014, 04:51:29 AM »
It is a graphic banner, you only need the picture address (URL). If you want to write text over it, you will need to do Text Banner and there you will have a Source box code.

Hope that helps

General Discussion / Re: Timer for sales
« on: March 25, 2014, 01:43:31 AM »
It doesn't seem like a very complicated task. Maybe create a block with a countdown script, eg:

I would highly recommend to read a tutorial about PHP and MYSQL. I learned a ton from 3wSchools:

Configuration / Re: How to edit contact us page?
« on: March 21, 2014, 09:36:59 PM »
You can edit some of that from
System -> Settings -> Details

Template Support / Re: how do you add more variables for head.tpl?
« on: March 18, 2014, 09:28:23 PM »
No, the image URL corresponding to the article you are viewing is in resources, and the URL is in the database (resource_description.resource_path). I had to do a query, even though I didn't want to :-/ but it's working :-)

Template Support / Re: Can't get my logo to appear
« on: March 17, 2014, 08:36:32 PM »
I can see your logo :-\

Template Support / Re: how do you add more variables for head.tpl?
« on: March 17, 2014, 08:33:06 PM »
Basically I need to get the image of the product url within the head tags for Facebook metatags. I just did it opening a connection in the head.tpl but I don't quite like the idea :-/

Built-in Features / Re: Cost for items with multiple options
« on: March 17, 2014, 06:15:28 PM »
Lee is right on the coin!! I guess I have to come up with a different page for that kind of report...

Built-in Features / Cost for items with multiple options
« on: March 17, 2014, 02:09:19 AM »
When adding a product, in the General tab you can see the Cost field (The wholesale cost used for profit reporting) for the product. When we go to the Options tab, you can add the option Size, which is very nice to have.
However, there is no field for the cost of a bigger size product (you have the price modifier, but that's only for the costumer to see, not for profit reports).
Lets say that you sell shampoo, and the same type of shampoo comes in two different sizes, 750ml and 1500ml. You will first enter your Cost for the 750ml and the Price you are selling it for. Then you enter 1500ml as the second option and charge more for it, but there is no way to tell AbanteCart that the second option is also more expensive for me, my wholesale price also has a 'modifier'!
Am I correct, or I am missing something?

Thanks :)

Template Support / how do you add more variables for head.tpl?
« on: March 17, 2014, 01:53:06 AM »
If in storefront/view/default_html5/template/common/head.tpl I enter the line

print_r (get_defined_vars());

I get an array of all defined variables. Now, how can I add extra variables? Where (what file) those variables are defined and populated?
I know the query, I just don't know where to write it.

Thanks :)

In the folder /core/database you can see two files: amysqli.php and mysql.php
I am not really sure, though, when the system picks one or the other. MySQL is soon being deprecated and it is not a good idea to keep working on it.
My two cents  :)

SEO / Re: Meta Tag SEO Tips and Tricks
« on: March 15, 2014, 05:36:07 PM »
You are correct, and I understand the image I am looking for is in resources. However, that image, as per the example, will always be the same (logo of your company, for example). What I want to achieve here is to add the individual product image (eg: wholesaleostomysuppliescom/resources/image/18/90/8.jpg).
I believe I will dig deeper to get to the complicated DB, if not, I will open a pop up window and javascript everything. I thought I could name the pictures with the product name, but I don't believe that would work since the 'name' of the resource is NOT the name of the picture uploaded :-(

General Discussion / Re: how to remove powered by :abantecart
« on: March 15, 2014, 02:16:38 AM »
An easy solution is to hide that part of the footer. Open storefront/view/default_html5/stylesheet/style.css , find .copyrightbottom  and add display: none; It would end up something like:

/*Copyright Bottom*/
.copyrightbottom {
   display: none;
   background: #303030;
   padding: 15px 0;
   color: #969ba4

SEO / Re: Meta Tag SEO Tips and Tricks
« on: March 15, 2014, 02:08:31 AM »
Now it gets funnier if you want to have all those fields to be dynamic (or changing with every product). In my head.tpl, I have most of it figured out:

 $href = 'http';
 if ($_SERVER["HTTPS"] == "on") {$href .= "s";}
 $href .= "://";
 if ($_SERVER["SERVER_PORT"] != "80") {
 } else {
 $url = parse_url($href);
 $query = array();
 parse_str($url['query'], $query);

 $url = " external link ?rt=product/product&product_id=".$query['product_id'];

echo '<meta property="og:title" content="'.$title.'" />';
echo '<meta property="og:type" content="ecommerce" />';
echo '<meta property="og:description" content="'.$description.'" />';
echo '<meta property="og:url" content="'.$url.'" />';

However, I have some issues trying to get the < meta property=og:image content=$img_url />

I can see it in product.tpl, but I'm not able to reach it from head.tpl. No variable seems to work for the image url :-/

Any clue about how to get it??

Pages: [1]

Powered by SMFPacks Social Login Mod