Search found 52 matches

Search found 52 matches

Re: Place variable in product description... is it possible?

i had vqmod on my 1.5.6 install... but I thought opencart 3 did not use vqmod. I dont see a lot of addons or extensions for opencart 3 using it.

Jump to post
  • Wed Nov 08, 2017 5:34 am
  • Replies 7
  • Views 1141
PAID HELP: Need Product / Options Customization.

Greetings, My name is Angelina. Im creating a website where I can sell custom Hershey's Bar Wrappers and Invitations for birthday parties and such. Im doing this as a hobby. I use to design just for friends events but more and more people expressed an interest in my designs... so i thought selling t...

Jump to post
  • Wed Nov 08, 2017 5:31 am
  • Replies 3
  • Views 596
Re: Place variable in product description... is it possible?

Ahhh figured it out. Thank you!!!!! It works!!!!

Thank you for being sooooo helpful!!

They should have a rating system for you guys. Some of you guys are so helpful and very knowledgeable.

I really appreciate it.

Jump to post
  • Sat Nov 04, 2017 11:51 am
  • Replies 7
  • Views 1141
Re: Place variable in product description... is it possible?

Im using opencart 3.0.2.0 I dont have vqmod installed. Will I need to in order to use this? Or how do I use it??

Thank you!!!!

Angelina

Jump to post
  • Sat Nov 04, 2017 11:43 am
  • Replies 7
  • Views 1141
Place variable in product description... is it possible?

Greetings everyone. Hope you all have a great weekend. Im curious... is it possible to add a product variable such as the model number into the description? I tried with the twig tag: {{ model }} but because the description is outside of the twig template the information is not being processed... so...

Jump to post
  • Sat Nov 04, 2017 6:33 am
  • Replies 7
  • Views 1141
Re: Selling Digital & Printed Products

Ill do that. First I will take some time and make mock-up images of what I am looking for so its clear as to what I need done. As usual.. thank you again. Happy Halloween!!

Jump to post
  • Wed Nov 01, 2017 7:46 am
  • Replies 7
  • Views 1144
Re: Selling Digital & Printed Products

is this something you can do? Lole develop on your side... and then provide me with the files and instructions on how to install?

Jump to post
  • Wed Nov 01, 2017 5:20 am
  • Replies 7
  • Views 1144
Re: Selling Digital & Printed Products

Happy Halloween!!

When I mentioned wrappers... I meant the product I sell... candy bar wrappers. Not gift wrapping. :)

Jump to post
  • Wed Nov 01, 2017 4:38 am
  • Replies 7
  • Views 1144
Selling Digital & Printed Products

Hello Everyone... I was wondering of there is such an extension or can something be created custom either a modification or an extension? I sell candy bar wrappers and invitations like for children's parties and events. Here is a test product so you see what I mean: http://printingforparties.com/tes...

Jump to post
  • Sun Oct 29, 2017 7:28 pm
  • Replies 7
  • Views 1144
Re: Is it possible to do this math in Twig?

Well Well Well.. After some tinkering around and now that I have code that I know for sure works in the controller file. Before I went and set up a 3rd fresh install I figured let me take the new PHP and add it to my shop's controller file just for fun. So I did that and saved it. I then added the d...

Jump to post
  • Fri Oct 27, 2017 12:49 am
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

Thanks straightlight. I cant believe how much time Im spending on this one thing... but its so important. As for the number_format I first tried the round option... but it gave back non complete numbers. For example: after the multiplication of the discount code if the real number was .8001 it would...

Jump to post
  • Thu Oct 26, 2017 11:10 pm
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

Hey guys... ok I created a new account, actually I did 2 of them. And i can confirm that journal2 theme is definitely messing around with the cache somehow. after i created a new account and did a fresh install of opencart... i tried editing the controller product.php file. and while i was able to s...

Jump to post
  • Thu Oct 26, 2017 2:36 pm
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

Thats the problem!!! Cant seem to edit the controller or the cache wont work. I will see on the new install tomorrow. :) I will advise.

Jump to post
  • Wed Oct 25, 2017 10:23 am
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

Here is the code rounded to to the 2nd decimal position: <?php $first = substr($discount['price'],1); $second = .80; $operation = "*"; $answer = eval('return '.$first.$operation.$second.';'); echo round($answer, 2); ?> Why cant twig be this easy?? Is there a way for me to add PHP code into a twig te...

Jump to post
  • Wed Oct 25, 2017 10:06 am
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

A fresh install means that no extensions at all are installed (including Journal2) as well as using Opencart the way the features are currently handled from the core once the files have been deflated from the ZIP file and the database being successfully added on the database. Yea I will try a new i...

Jump to post
  • Wed Oct 25, 2017 10:02 am
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

OMG I was able to do this on my 1.5.6 install with PHP. See: http://wrappedcandybars.com/1234 It was very easy using PHP. <?php $first = substr($discount['price'],1);; $second = .80; $operation = "*"; $answer = eval('return '.$first.$operation.$second.';'); echo $answer; ?> Now I have to figure out ...

Jump to post
  • Wed Oct 25, 2017 10:01 am
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

I will try that I guess tomorrow on a fresh install. Although this was a fresh install too. Fresh for both... but I did add a few small modules. But I will try to build it out tomorrow with a new server totally fresh and see what I get. Thank you for all your help.

Angelina

Jump to post
  • Wed Oct 25, 2017 9:33 am
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

Hmmm Maybe i did not explain it right. I can easily modify the templates and it shows what I want it to on the client side. My cache issue is not with the templates. So I was thinking I can make a whole new template... lets call it... product-discounted.twig in the same directory as product.twig. So...

Jump to post
  • Wed Oct 25, 2017 9:12 am
  • Replies 45
  • Views 5378
Re: Is it possible to do this math in Twig?

Is it possible for me to create another template... say product2 and then in the product admin page... where it asks for the design... to be able to select product2 and it would use product2 template file? Im thinking being I have no problems with the template cache... I can just hard code the secon...

Jump to post
  • Wed Oct 25, 2017 8:58 am
  • Replies 45
  • Views 5378

Search found 52 matches